#5E2599#5E2599
#5E2599 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.176 H 301.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2599 |
|---|---|
| RGB | rgb(94, 37, 153) |
| HSL | hsl(269, 61%, 37%) |
| HSV | hsv(269, 76%, 60%) |
| CMYK | cmyk(38.6%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(29.42, 48.08, -52.85) |
| CIE-LCH | lch(29.42, 71.45, 312.30°) |
| OKLab | oklab(41.32% 0.0915 -0.1508) |
| OKLCH | oklch(41.32% 0.176 301.2) |
| XYZ | xyz(11.0260, 6.0027, 30.7085) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.33
Purple (survey)
#7E1E9C
ΔE00 6.00
Indigo
#4B0082
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 6.88
Violet Blue
#510AC9
ΔE00 7.34
Purple Blue
#5D21D0
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2599 #609925
analogous
#252699 #5E2599 #982599
triadic
#5E2599 #995E25 #25995E
tetradic
#5E2599 #992526 #609925 #259998
square
#5E2599 #992526 #609925 #259998
split-complementary
#5E2599 #999825 #269925
monochromatic
#210D36 #401968 #5E2599 #7C31CA #9B60D9
Accessibility & contrast
On white
9.54
#5E2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#5E2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2599
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2599 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#51435D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5e2599; /* rgb */ color: rgb(94, 37, 153); /* oklch */ color: oklch(41.3% 0.176 301.2);
Tailwind
colors: {
custom: {
50: '#9166b8',
500: '#5e2599',
950: '#000000',
},
}SCSS
$custom: #5e2599; $custom-light: #9166b8; $custom-dark: #000000;
JSON
{
"hex": "#5e2599",
"rgb": {
"r": 94,
"g": 37,
"b": 153
},
"hsl": {
"h": 269.483,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.41318,
"c": 0.1764,
"h": 301.2
},
"luminance": 0.06003
}Semantic roles & 50–950 ramp
primary
#5E2599
secondary
#8EBE5C
accent
#E44495
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80