#5E168E#5E168E
#5E168E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.180 H 306.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5E168E |
|---|---|
| RGB | rgb(94, 22, 142) |
| HSL | hsl(276, 73%, 32%) |
| HSV | hsv(276, 85%, 56%) |
| CMYK | cmyk(33.8%, 84.5%, 0%, 44.3%) |
| CIE-LAB | lab(26.47, 51.29, -50.89) |
| CIE-LCH | lch(26.47, 72.25, 315.22°) |
| OKLab | oklab(38.96% 0.107 -0.145) |
| OKLCH | oklch(38.96% 0.18 306.4) |
| XYZ | xyz(9.7844, 4.9066, 26.0176) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.40
Rebeccapurple
#663399
ΔE00 5.65
Royal Purple (survey)
#4B006E
ΔE00 6.16
Purple (survey)
#7E1E9C
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.96
Indigo Blue
#3A18B1
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E168E #468E16
analogous
#22168E #5E168E #8E1682
triadic
#5E168E #8E5E16 #168E5E
tetradic
#5E168E #8E2216 #468E16 #16828E
square
#5E168E #8E2216 #468E16 #16828E
split-complementary
#5E168E #828E16 #168E22
monochromatic
#180624 #3B0E59 #5E168E #811EC3 #A03DE1
Accessibility & contrast
On white
10.60
#5E168E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#5E168E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E168E
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E168E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E168E | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#553754
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #5e168e; /* rgb */ color: rgb(94, 22, 142); /* oklch */ color: oklch(39.0% 0.180 306.4);
Tailwind
colors: {
custom: {
50: '#915eb0',
500: '#5e168e',
950: '#000000',
},
}SCSS
$custom: #5e168e; $custom-light: #915eb0; $custom-dark: #000000;
JSON
{
"hex": "#5e168e",
"rgb": {
"r": 94,
"g": 22,
"b": 142
},
"hsl": {
"h": 276,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.38964,
"c": 0.18016,
"h": 306.4
},
"luminance": 0.04906
}Semantic roles & 50–950 ramp
primary
#5E168E
secondary
#73C13F
accent
#F03882
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0D0511
muted
#7E7980