#5E199E#5E199E
#5E199E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.193 H 301.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5E199E |
|---|---|
| RGB | rgb(94, 25, 158) |
| HSL | hsl(271, 73%, 36%) |
| HSV | hsv(271, 84%, 62%) |
| CMYK | cmyk(40.5%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(28.23, 54.00, -57.85) |
| CIE-LCH | lch(28.23, 79.13, 313.03°) |
| OKLab | oklab(40.62% 0.0997 -0.1654) |
| OKLCH | oklch(40.62% 0.193 301.1) |
| XYZ | xyz(11.1338, 5.5435, 32.8245) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.80
Indigo Blue
#3A18B1
ΔE00 5.95
Violet Blue
#510AC9
ΔE00 6.16
Purple (survey)
#7E1E9C
ΔE00 6.36
Purple Blue
#5D21D0
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E199E #599E19
analogous
#1B199E #5E199E #9E199B
triadic
#5E199E #9E5E19 #199E5E
tetradic
#5E199E #9E1B19 #599E19 #199B9E
square
#5E199E #9E1B19 #599E19 #199B9E
split-complementary
#5E199E #9B9E19 #199E1B
monochromatic
#1F0834 #3F1169 #5E199E #7D21D3 #9B4EE3
Accessibility & contrast
On white
9.96
#5E199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#5E199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E199E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E199E | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#4F405E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5e199e; /* rgb */ color: rgb(94, 25, 158); /* oklch */ color: oklch(40.6% 0.193 301.1);
Tailwind
colors: {
custom: {
50: '#9360bc',
500: '#5e199e',
950: '#000000',
},
}SCSS
$custom: #5e199e; $custom-light: #9360bc; $custom-dark: #000000;
JSON
{
"hex": "#5e199e",
"rgb": {
"r": 94,
"g": 25,
"b": 158
},
"hsl": {
"h": 271.128,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.40623,
"c": 0.19313,
"h": 301.1
},
"luminance": 0.05544
}Semantic roles & 50–950 ramp
primary
#5E199E
secondary
#87C54E
accent
#EF3890
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81