#5E2699#5E2699
#5E2699 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.175 H 301.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2699 |
|---|---|
| RGB | rgb(94, 38, 153) |
| HSL | hsl(269, 60%, 37%) |
| HSV | hsv(269, 75%, 60%) |
| CMYK | cmyk(38.6%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(29.58, 47.63, -52.59) |
| CIE-LCH | lch(29.58, 70.95, 312.17°) |
| OKLab | oklab(41.43% 0.0905 -0.1501) |
| OKLCH | oklch(41.43% 0.175 301.1) |
| XYZ | xyz(11.0576, 6.0657, 30.7191) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.17
Purple (survey)
#7E1E9C
ΔE00 6.01
Indigo
#4B0082
ΔE00 6.81
Indigo Blue
#3A18B1
ΔE00 6.95
Violet Blue
#510AC9
ΔE00 7.40
Purple Blue
#5D21D0
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2699 #619926
analogous
#262899 #5E2699 #972699
triadic
#5E2699 #995E26 #26995E
tetradic
#5E2699 #992628 #619926 #269997
square
#5E2699 #992628 #619926 #269997
split-complementary
#5E2699 #999726 #289926
monochromatic
#220E37 #401A68 #5E2699 #7C32CA #9B62D8
Accessibility & contrast
On white
9.49
#5E2699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#5E2699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2699
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2699 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#51435E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5e2699; /* rgb */ color: rgb(94, 38, 153); /* oklch */ color: oklch(41.4% 0.175 301.1);
Tailwind
colors: {
custom: {
50: '#9166b8',
500: '#5e2699',
950: '#000000',
},
}SCSS
$custom: #5e2699; $custom-light: #9166b8; $custom-dark: #000000;
JSON
{
"hex": "#5e2699",
"rgb": {
"r": 94,
"g": 38,
"b": 153
},
"hsl": {
"h": 269.217,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.4143,
"c": 0.17527,
"h": 301.1
},
"luminance": 0.06066
}Semantic roles & 50–950 ramp
primary
#5E2699
secondary
#8FBD5E
accent
#E34496
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80