#5E2EA1#5E2EA1
#5E2EA1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.175 H 297.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2EA1 |
|---|---|
| RGB | rgb(94, 46, 161) |
| HSL | hsl(265, 56%, 41%) |
| HSV | hsv(265, 71%, 63%) |
| CMYK | cmyk(41.6%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(31.59, 45.86, -54.17) |
| CIE-LCH | lch(31.59, 70.98, 310.25°) |
| OKLab | oklab(43.06% 0.081 -0.1548) |
| OKLCH | oklch(43.06% 0.175 297.6) |
| XYZ | xyz(12.0244, 6.9067, 34.4109) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.61
Purple Blue
#5D21D0
ΔE00 6.59
Purple (survey)
#7E1E9C
ΔE00 6.66
Ocean Blue
#4F42B5
ΔE00 6.78
Blue With A Hint Of Purple
#533CC6
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2EA1 #71A12E
analogous
#2E38A1 #5E2EA1 #972EA1
triadic
#5E2EA1 #A15E2E #2EA15E
tetradic
#5E2EA1 #A12E38 #71A12E #2EA197
square
#5E2EA1 #A12E38 #71A12E #2EA197
split-complementary
#5E2EA1 #A1972E #38A12E
monochromatic
#261342 #422071 #5E2EA1 #7B43C9 #9C73D7
Accessibility & contrast
On white
8.82
#5E2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#5E2EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2EA1
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2EA1 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#4D4A64
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #5e2ea1; /* rgb */ color: rgb(94, 46, 161); /* oklch */ color: oklch(43.1% 0.175 297.6);
Tailwind
colors: {
custom: {
50: '#926bbe',
500: '#5e2ea1',
950: '#000000',
},
}SCSS
$custom: #5e2ea1; $custom-light: #926bbe; $custom-dark: #000000;
JSON
{
"hex": "#5e2ea1",
"rgb": {
"r": 94,
"g": 46,
"b": 161
},
"hsl": {
"h": 265.043,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.43062,
"c": 0.17469,
"h": 297.6
},
"luminance": 0.06907
}Semantic roles & 50–950 ramp
primary
#5E2EA1
secondary
#9CBE6C
accent
#DF49A0
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0712
muted
#7E7A81