#5E299E#5E299E
#5E299E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.177 H 299.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5E299E |
|---|---|
| RGB | rgb(94, 41, 158) |
| HSL | hsl(267, 59%, 39%) |
| HSV | hsv(267, 74%, 62%) |
| CMYK | cmyk(40.5%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(30.48, 47.51, -54.16) |
| CIE-LCH | lch(30.48, 72.05, 311.26°) |
| OKLab | oklab(42.2% 0.0866 -0.1547) |
| OKLCH | oklch(42.2% 0.177 299.2) |
| XYZ | xyz(11.5790, 6.4340, 32.9730) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.95
Purple (survey)
#7E1E9C
ΔE00 6.27
Indigo Blue
#3A18B1
ΔE00 6.68
Purple Blue
#5D21D0
ΔE00 6.91
Violet Blue
#510AC9
ΔE00 6.92
Indigo
#4B0082
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E299E #699E29
analogous
#292F9E #5E299E #99299E
triadic
#5E299E #9E5E29 #299E5E
tetradic
#5E299E #9E292F #699E29 #299E99
square
#5E299E #9E292F #699E29 #299E99
split-complementary
#5E299E #9E9929 #2F9E29
monochromatic
#24103D #411C6D #5E299E #7B39CC #9B69D8
Accessibility & contrast
On white
9.18
#5E299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#5E299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E299E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E299E | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#4F4761
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5e299e; /* rgb */ color: rgb(94, 41, 158); /* oklch */ color: oklch(42.2% 0.177 299.2);
Tailwind
colors: {
custom: {
50: '#9268bc',
500: '#5e299e',
950: '#000000',
},
}SCSS
$custom: #5e299e; $custom-light: #9268bc; $custom-dark: #000000;
JSON
{
"hex": "#5e299e",
"rgb": {
"r": 94,
"g": 41,
"b": 158
},
"hsl": {
"h": 267.179,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.42197,
"c": 0.17728,
"h": 299.2
},
"luminance": 0.06434
}Semantic roles & 50–950 ramp
primary
#5E299E
secondary
#96BF64
accent
#E2469B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81