AfoliOpen Afoli →

Red Violet color #9E0168

Red Violet is a color name from the xkcd color survey for the hex code #9E0168 — RGB 158, 1, 104, HSL 321°, 99%, 31%.

Open in Afoli Colour tools →

#9E0168Red Violet

Color codes

HEX
#9E0168
RGB
rgb(158, 1, 104)
HSL
hsl(321, 99%, 31%)
CMYK
0%, 99%, 34%, 38%
OKLCH
oklch(46.2% 0.192 349.6)

Tints and shades

#FFF0F7#FFC8E1#FF9BCC#FA6AB7#DD4F9E#C03385#A40E6D#800053#5C003B#3B0024#1D000F

Color harmonies

Complementary
#9E0168#006950
Analogous
#842199#9E0168#A7002A
Triadic
#9E0168#5D5D00#006181
Split complementary
#9E0168#1F6B00#006569
Tetradic
#9E0168#755100#006950#0050BD

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Red Violet text on white7.90 : 185AAA — any text
Red Violet text on black2.66 : 1-17Fails for text
White text on Red Violet7.90 : 1-90AAA — any text
Black text on Red Violet2.66 : 119Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Red Violet?

Red Violet has the hex code #9E0168, which is RGB 158, 1, 104 and HSL 321°, 99%, 31%.

Which text color reads best on Red Violet?

White text: contrast 7.90 : 1 (black text: 2.66 : 1).

Which colors go well with Red Violet?

Its complementary color is #006950; analogous colors are #842199 and #A7002A; a triadic set adds #5D5D00 and #006181.

Similar colors

Sources and licences

Updated November 21, 2026