#5E118E#5E118E
#5E118E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.6% C 0.184 H 306.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5E118E |
|---|---|
| RGB | rgb(94, 17, 142) |
| HSL | hsl(277, 79%, 31%) |
| HSV | hsv(277, 88%, 56%) |
| CMYK | cmyk(33.8%, 88%, 0%, 44.3%) |
| CIE-LAB | lab(25.96, 52.77, -51.71) |
| CIE-LCH | lch(25.96, 73.89, 315.58°) |
| OKLab | oklab(38.61% 0.1102 -0.1473) |
| OKLCH | oklch(38.61% 0.184 306.8) |
| XYZ | xyz(9.6980, 4.7337, 25.9887) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.06
Royal Purple (survey)
#4B006E
ΔE00 5.91
Rebeccapurple
#663399
ΔE00 6.18
Purple (survey)
#7E1E9C
ΔE00 6.48
Indigo (survey)
#380282
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E118E #418E11
analogous
#1F118E #5E118E #8E117F
triadic
#5E118E #8E5E11 #118E5E
tetradic
#5E118E #8E1F11 #418E11 #117F8E
square
#5E118E #8E1F11 #418E11 #117F8E
split-complementary
#5E118E #7F8E11 #118E1F
monochromatic
#160421 #3A0A57 #5E118E #8218C5 #A233E7
Accessibility & contrast
On white
10.79
#5E118E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#5E118E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E118E
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E118E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E118E | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#553653
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #5e118e; /* rgb */ color: rgb(94, 17, 142); /* oklch */ color: oklch(38.6% 0.184 306.8);
Tailwind
colors: {
custom: {
50: '#915db0',
500: '#5e118e',
950: '#000000',
},
}SCSS
$custom: #5e118e; $custom-light: #915db0; $custom-dark: #000000;
JSON
{
"hex": "#5e118e",
"rgb": {
"r": 94,
"g": 17,
"b": 142
},
"hsl": {
"h": 276.96,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.38614,
"c": 0.18402,
"h": 306.8
},
"luminance": 0.04734
}Semantic roles & 50–950 ramp
primary
#5E118E
secondary
#6DC238
accent
#F5337D
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0D0511
muted
#7E7980