#5E19A1#5E19A1
#5E19A1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.196 H 300.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E19A1 |
|---|---|
| RGB | rgb(94, 25, 161) |
| HSL | hsl(270, 73%, 36%) |
| HSV | hsv(270, 84%, 63%) |
| CMYK | cmyk(41.6%, 84.5%, 0%, 36.9%) |
| CIE-LAB | lab(28.51, 54.71, -59.22) |
| CIE-LCH | lch(28.51, 80.62, 312.73°) |
| OKLab | oklab(40.9% 0.0987 -0.1694) |
| OKLCH | oklch(40.9% 0.196 300.2) |
| XYZ | xyz(11.3951, 5.6480, 34.2011) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.23
Indigo Blue
#3A18B1
ΔE00 5.68
Violet Blue
#510AC9
ΔE00 5.73
Indigo
#4B0082
ΔE00 6.11
Purple (survey)
#7E1E9C
ΔE00 6.48
Purple Blue
#5D21D0
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E19A1 #5CA119
analogous
#1A19A1 #5E19A1 #A119A0
triadic
#5E19A1 #A15E19 #19A15E
tetradic
#5E19A1 #A11A19 #5CA119 #19A0A1
square
#5E19A1 #A11A19 #5CA119 #19A0A1
split-complementary
#5E19A1 #A0A119 #19A11A
monochromatic
#200937 #3F116C #5E19A1 #7D21D6 #9B50E4
Accessibility & contrast
On white
9.86
#5E19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#5E19A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E19A1
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E19A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E19A1 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#4E415F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5e19a1; /* rgb */ color: rgb(94, 25, 161); /* oklch */ color: oklch(40.9% 0.196 300.2);
Tailwind
colors: {
custom: {
50: '#9361be',
500: '#5e19a1',
950: '#000000',
},
}SCSS
$custom: #5e19a1; $custom-light: #9361be; $custom-dark: #000000;
JSON
{
"hex": "#5e19a1",
"rgb": {
"r": 94,
"g": 25,
"b": 161
},
"hsl": {
"h": 270.441,
"s": 73.118,
"l": 36.471
},
"oklch": {
"l": 0.40898,
"c": 0.19606,
"h": 300.2
},
"luminance": 0.05648
}Semantic roles & 50–950 ramp
primary
#5E19A1
secondary
#8AC64F
accent
#F03893
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81