#5E1EA9#5E1EA9
#5E1EA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.200 H 297.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1EA9 |
|---|---|
| RGB | rgb(94, 30, 169) |
| HSL | hsl(268, 70%, 39%) |
| HSV | hsv(268, 82%, 66%) |
| CMYK | cmyk(44.4%, 82.2%, 0%, 33.7%) |
| CIE-LAB | lab(29.84, 54.89, -61.86) |
| CIE-LCH | lch(29.84, 82.70, 311.58°) |
| OKLab | oklab(42.05% 0.0925 -0.1772) |
| OKLCH | oklch(42.05% 0.2 297.6) |
| XYZ | xyz(12.2399, 6.1726, 38.0750) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 4.78
Rebeccapurple
#663399
ΔE00 5.10
Indigo Blue
#3A18B1
ΔE00 5.25
Purple Blue
#5D21D0
ΔE00 5.38
Purple (survey)
#7E1E9C
ΔE00 6.80
Indigo
#4B0082
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1EA9 #69A91E
analogous
#1E24A9 #5E1EA9 #A41EA9
triadic
#5E1EA9 #A95E1E #1EA95E
tetradic
#5E1EA9 #A91E24 #69A91E #1EA9A4
square
#5E1EA9 #A91E24 #69A91E #1EA9A4
split-complementary
#5E1EA9 #A9A41E #24A91E
monochromatic
#240C41 #411575 #5E1EA9 #7B2BD9 #9B5FE3
Accessibility & contrast
On white
9.40
#5E1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5E1EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1EA9
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1EA9 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#4A4665
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5e1ea9; /* rgb */ color: rgb(94, 30, 169); /* oklch */ color: oklch(42.0% 0.200 297.6);
Tailwind
colors: {
custom: {
50: '#9363c4',
500: '#5e1ea9',
950: '#000000',
},
}SCSS
$custom: #5e1ea9; $custom-light: #9363c4; $custom-dark: #000000;
JSON
{
"hex": "#5e1ea9",
"rgb": {
"r": 94,
"g": 30,
"b": 169
},
"hsl": {
"h": 267.626,
"s": 69.849,
"l": 39.02
},
"oklch": {
"l": 0.42048,
"c": 0.19994,
"h": 297.6
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#5E1EA9
secondary
#96C75C
accent
#ED3B9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82