#4E3E84#4E3E84
#4E3E84 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.7% C 0.113 H 291.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3E84 |
|---|---|
| RGB | rgb(78, 62, 132) |
| HSL | hsl(254, 36%, 38%) |
| HSV | hsv(254, 53%, 52%) |
| CMYK | cmyk(40.9%, 53%, 0%, 48.2%) |
| CIE-LAB | lab(31.19, 24.75, -37.15) |
| CIE-LCH | lch(31.19, 44.64, 303.67°) |
| OKLab | oklab(41.69% 0.0409 -0.1053) |
| OKLCH | oklch(41.69% 0.113 291.2) |
| XYZ | xyz(9.0282, 6.7306, 22.6488) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.22
Blueberry
#464196
ΔE00 4.25
Twilight
#4E518B
ΔE00 6.68
Rebeccapurple
#663399
ΔE00 7.07
Ocean Blue
#4F42B5
ΔE00 8.33
Dusk
#4E5481
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3E84 #74843E
analogous
#3E5184 #4E3E84 #713E84
triadic
#4E3E84 #844E3E #3E844E
tetradic
#4E3E84 #843E51 #74843E #3E8471
square
#4E3E84 #843E51 #74843E #3E8471
split-complementary
#4E3E84 #84713E #51843E
monochromatic
#1D1731 #352A5A #4E3E84 #6752AE #8B7BC1
Accessibility & contrast
On white
8.95
#4E3E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4E3E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3E84
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3E84 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214B86
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#404C5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4e3e84; /* rgb */ color: rgb(78, 62, 132); /* oklch */ color: oklch(41.7% 0.113 291.2);
Tailwind
colors: {
custom: {
50: '#8373a8',
500: '#4e3e84',
950: '#000000',
},
}SCSS
$custom: #4e3e84; $custom-light: #8373a8; $custom-dark: #000000;
JSON
{
"hex": "#4e3e84",
"rgb": {
"r": 78,
"g": 62,
"b": 132
},
"hsl": {
"h": 253.714,
"s": 36.082,
"l": 38.039
},
"oklch": {
"l": 0.41689,
"c": 0.11295,
"h": 291.2
},
"luminance": 0.06731
}Semantic roles & 50–950 ramp
primary
#4E3E84
secondary
#9EAB73
accent
#CC5CB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F