#5E2199#5E2199
#5E2199 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.181 H 301.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2199 |
|---|---|
| RGB | rgb(94, 33, 153) |
| HSL | hsl(271, 65%, 36%) |
| HSV | hsv(271, 78%, 60%) |
| CMYK | cmyk(38.6%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(28.82, 49.80, -53.83) |
| CIE-LCH | lch(28.82, 73.34, 312.77°) |
| OKLab | oklab(40.89% 0.0951 -0.1537) |
| OKLCH | oklch(40.89% 0.181 301.7) |
| XYZ | xyz(10.9083, 5.7673, 30.6693) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.96
Purple (survey)
#7E1E9C
ΔE00 6.01
Indigo
#4B0082
ΔE00 6.14
Indigo Blue
#3A18B1
ΔE00 6.67
Violet Blue
#510AC9
ΔE00 7.12
Purple Blue
#5D21D0
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2199 #5C9921
analogous
#222199 #5E2199 #992198
triadic
#5E2199 #995E21 #21995E
tetradic
#5E2199 #992221 #5C9921 #219899
square
#5E2199 #992221 #5C9921 #219899
split-complementary
#5E2199 #989921 #219922
monochromatic
#200B34 #3F1667 #5E2199 #7D2CCB #9B59DB
Accessibility & contrast
On white
9.75
#5E2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5E2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2199
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2199 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#51415C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5e2199; /* rgb */ color: rgb(94, 33, 153); /* oklch */ color: oklch(40.9% 0.181 301.7);
Tailwind
colors: {
custom: {
50: '#9264b8',
500: '#5e2199',
950: '#000000',
},
}SCSS
$custom: #5e2199; $custom-light: #9264b8; $custom-dark: #000000;
JSON
{
"hex": "#5e2199",
"rgb": {
"r": 94,
"g": 33,
"b": 153
},
"hsl": {
"h": 270.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.40895,
"c": 0.18072,
"h": 301.7
},
"luminance": 0.05767
}Semantic roles & 50–950 ramp
primary
#5E2199
secondary
#8ABF56
accent
#E84093
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80