#5E2E95#5E2E95
#5E2E95 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.161 H 301.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2E95 |
|---|---|
| RGB | rgb(94, 46, 149) |
| HSL | hsl(268, 53%, 38%) |
| HSV | hsv(268, 69%, 58%) |
| CMYK | cmyk(36.9%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(30.65, 42.71, -48.40) |
| CIE-LCH | lch(30.65, 64.55, 311.43°) |
| OKLab | oklab(42.09% 0.083 -0.1378) |
| OKLCH | oklch(42.09% 0.161 301.1) |
| XYZ | xyz(11.0166, 6.5035, 29.1029) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.89
Purple (survey)
#7E1E9C
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.81
Blueberry
#464196
ΔE00 7.83
Indigo
#4B0082
ΔE00 7.99
Ocean Blue
#4F42B5
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2E95 #65952E
analogous
#2E3195 #5E2E95 #912E95
triadic
#5E2E95 #955E2E #2E955E
tetradic
#5E2E95 #952E31 #65952E #2E9591
square
#5E2E95 #952E31 #65952E #2E9591
split-complementary
#5E2E95 #95912E #31952E
monochromatic
#231137 #402066 #5E2E95 #7C3DC3 #9B6CD2
Accessibility & contrast
On white
9.13
#5E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#5E2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2E95
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2E95 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#52465E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5e2e95; /* rgb */ color: rgb(94, 46, 149); /* oklch */ color: oklch(42.1% 0.161 301.1);
Tailwind
colors: {
custom: {
50: '#906ab5',
500: '#5e2e95',
950: '#000000',
},
}SCSS
$custom: #5e2e95; $custom-light: #906ab5; $custom-dark: #000000;
JSON
{
"hex": "#5e2e95",
"rgb": {
"r": 94,
"g": 46,
"b": 149
},
"hsl": {
"h": 267.961,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.42091,
"c": 0.16086,
"h": 301.1
},
"luminance": 0.06504
}Semantic roles & 50–950 ramp
primary
#5E2E95
secondary
#92B966
accent
#DC4C99
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80