#5E1D9E#5E1D9E
#5E1D9E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.190 H 300.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1D9E |
|---|---|
| RGB | rgb(94, 29, 158) |
| HSL | hsl(270, 69%, 37%) |
| HSV | hsv(270, 82%, 62%) |
| CMYK | cmyk(40.5%, 81.6%, 0%, 38%) |
| CIE-LAB | lab(28.71, 52.59, -57.05) |
| CIE-LCH | lch(28.71, 77.59, 312.67°) |
| OKLab | oklab(40.96% 0.0969 -0.1631) |
| OKLCH | oklch(40.96% 0.19 300.7) |
| XYZ | xyz(11.2255, 5.7269, 32.8551) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 6.02
Indigo
#4B0082
ΔE00 6.14
Violet Blue
#510AC9
ΔE00 6.24
Purple (survey)
#7E1E9C
ΔE00 6.25
Purple Blue
#5D21D0
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1D9E #5D9E1D
analogous
#1E1D9E #5E1D9E #9E1D9E
triadic
#5E1D9E #9E5E1D #1D9E5E
tetradic
#5E1D9E #9E1E1D #5D9E1D #1D9E9E
square
#5E1D9E #9E1E1D #5D9E1D #1D9E9E
split-complementary
#5E1D9E #9E9E1D #1D9E1E
monochromatic
#200A37 #3F146A #5E1D9E #7D26D2 #9B56E0
Accessibility & contrast
On white
9.79
#5E1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#5E1D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1D9E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1D9E | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#4F415E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5e1d9e; /* rgb */ color: rgb(94, 29, 158); /* oklch */ color: oklch(41.0% 0.190 300.7);
Tailwind
colors: {
custom: {
50: '#9262bc',
500: '#5e1d9e',
950: '#000000',
},
}SCSS
$custom: #5e1d9e; $custom-light: #9262bc; $custom-dark: #000000;
JSON
{
"hex": "#5e1d9e",
"rgb": {
"r": 94,
"g": 29,
"b": 158
},
"hsl": {
"h": 270.233,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.40957,
"c": 0.18971,
"h": 300.7
},
"luminance": 0.05727
}Semantic roles & 50–950 ramp
primary
#5E1D9E
secondary
#8BC354
accent
#EC3C93
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81