#5E1EA0#5E1EA0
#5E1EA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.191 H 300.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1EA0 |
|---|---|
| RGB | rgb(94, 30, 160) |
| HSL | hsl(270, 68%, 37%) |
| HSV | hsv(270, 81%, 63%) |
| CMYK | cmyk(41.3%, 81.3%, 0%, 37.3%) |
| CIE-LAB | lab(29.02, 52.70, -57.77) |
| CIE-LCH | lch(29.02, 78.19, 312.37°) |
| OKLab | oklab(41.23% 0.0955 -0.1652) |
| OKLCH | oklch(41.23% 0.191 300) |
| XYZ | xyz(11.4239, 5.8462, 33.7774) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.59
Indigo Blue
#3A18B1
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 5.99
Purple (survey)
#7E1E9C
ΔE00 6.31
Indigo
#4B0082
ΔE00 6.42
Purple Blue
#5D21D0
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1EA0 #60A01E
analogous
#1E1FA0 #5E1EA0 #9F1EA0
triadic
#5E1EA0 #A05E1E #1EA05E
tetradic
#5E1EA0 #A01E1F #60A01E #1EA09F
square
#5E1EA0 #A01E1F #60A01E #1EA09F
split-complementary
#5E1EA0 #A09F1E #1FA01E
monochromatic
#210B39 #40146C #5E1EA0 #7C28D4 #9B59E0
Accessibility & contrast
On white
9.68
#5E1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5E1EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1EA0
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1EA0 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#4E4260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5e1ea0; /* rgb */ color: rgb(94, 30, 160); /* oklch */ color: oklch(41.2% 0.191 300.0);
Tailwind
colors: {
custom: {
50: '#9263bd',
500: '#5e1ea0',
950: '#000000',
},
}SCSS
$custom: #5e1ea0; $custom-light: #9263bd; $custom-dark: #000000;
JSON
{
"hex": "#5e1ea0",
"rgb": {
"r": 94,
"g": 30,
"b": 160
},
"hsl": {
"h": 269.538,
"s": 68.421,
"l": 37.255
},
"oklch": {
"l": 0.41226,
"c": 0.19082,
"h": 300
},
"luminance": 0.05846
}Semantic roles & 50–950 ramp
primary
#5E1EA0
secondary
#8EC456
accent
#EB3D95
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81