#5E289E#5E289E
#5E289E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.178 H 299.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5E289E |
|---|---|
| RGB | rgb(94, 40, 158) |
| HSL | hsl(267, 60%, 39%) |
| HSV | hsv(267, 75%, 62%) |
| CMYK | cmyk(40.5%, 74.7%, 0%, 38%) |
| CIE-LAB | lab(30.32, 47.98, -54.43) |
| CIE-LCH | lch(30.32, 72.56, 311.39°) |
| OKLab | oklab(42.08% 0.0875 -0.1555) |
| OKLCH | oklch(42.08% 0.178 299.4) |
| XYZ | xyz(11.5449, 6.3657, 32.9616) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.09
Purple (survey)
#7E1E9C
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.60
Violet Blue
#510AC9
ΔE00 6.84
Purple Blue
#5D21D0
ΔE00 6.90
Indigo
#4B0082
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E289E #689E28
analogous
#282D9E #5E289E #99289E
triadic
#5E289E #9E5E28 #289E5E
tetradic
#5E289E #9E282D #689E28 #289E99
square
#5E289E #9E282D #689E28 #289E99
split-complementary
#5E289E #9E9928 #2D9E28
monochromatic
#240F3C #411C6D #5E289E #7B37CC #9B68D9
Accessibility & contrast
On white
9.24
#5E289E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#5E289E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E289E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E289E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E289E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#4F4661
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5e289e; /* rgb */ color: rgb(94, 40, 158); /* oklch */ color: oklch(42.1% 0.178 299.4);
Tailwind
colors: {
custom: {
50: '#9267bc',
500: '#5e289e',
950: '#000000',
},
}SCSS
$custom: #5e289e; $custom-light: #9267bc; $custom-dark: #000000;
JSON
{
"hex": "#5e289e",
"rgb": {
"r": 94,
"g": 40,
"b": 158
},
"hsl": {
"h": 267.458,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.4208,
"c": 0.17844,
"h": 299.4
},
"luminance": 0.06366
}Semantic roles & 50–950 ramp
primary
#5E289E
secondary
#95BF63
accent
#E3459B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81