#5E2E92#5E2E92
#5E2E92 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.157 H 302.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2E92 |
|---|---|
| RGB | rgb(94, 46, 146) |
| HSL | hsl(269, 52%, 38%) |
| HSV | hsv(269, 68%, 57%) |
| CMYK | cmyk(35.6%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(30.42, 41.93, -46.93) |
| CIE-LCH | lch(30.42, 62.94, 311.78°) |
| OKLab | oklab(41.86% 0.0834 -0.1335) |
| OKLCH | oklch(41.86% 0.157 302) |
| XYZ | xyz(10.7802, 6.4090, 27.8577) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.99
Purple (survey)
#7E1E9C
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.80
Indigo
#4B0082
ΔE00 7.91
Blueberry
#464196
ΔE00 7.96
Ocean Blue
#4F42B5
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2E92 #62922E
analogous
#2E3092 #5E2E92 #902E92
triadic
#5E2E92 #925E2E #2E925E
tetradic
#5E2E92 #922E30 #62922E #2E9290
square
#5E2E92 #922E30 #62922E #2E9290
split-complementary
#5E2E92 #92902E #30922E
monochromatic
#221135 #401F63 #5E2E92 #7C3DC1 #9B6AD0
Accessibility & contrast
On white
9.20
#5E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#5E2E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2E92
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2E92 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#53455C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5e2e92; /* rgb */ color: rgb(94, 46, 146); /* oklch */ color: oklch(41.9% 0.157 302.0);
Tailwind
colors: {
custom: {
50: '#906ab3',
500: '#5e2e92',
950: '#000000',
},
}SCSS
$custom: #5e2e92; $custom-light: #906ab3; $custom-dark: #000000;
JSON
{
"hex": "#5e2e92",
"rgb": {
"r": 94,
"g": 46,
"b": 146
},
"hsl": {
"h": 268.8,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.41857,
"c": 0.15738,
"h": 302
},
"luminance": 0.06409
}Semantic roles & 50–950 ramp
primary
#5E2E92
secondary
#90B765
accent
#DC4C97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80