#4E3E76#4E3E76
#4E3E76 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.8% C 0.092 H 295.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4E3E76 |
|---|---|
| RGB | rgb(78, 62, 118) |
| HSL | hsl(257, 31%, 35%) |
| HSV | hsv(257, 47%, 46%) |
| CMYK | cmyk(33.9%, 47.5%, 0%, 53.7%) |
| CIE-LAB | lab(30.33, 20.62, -29.75) |
| CIE-LCH | lch(30.33, 36.20, 304.72°) |
| OKLab | oklab(40.78% 0.0393 -0.0836) |
| OKLCH | oklch(40.78% 0.092 295.2) |
| XYZ | xyz(8.1337, 6.3728, 17.9376) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.26
Blueberry
#464196
ΔE00 7.24
Twilight
#4E518B
ΔE00 7.41
Dusk
#4E5481
ΔE00 8.30
Rebeccapurple
#663399
ΔE00 9.04
Ocean Blue
#4F42B5
ΔE00 11.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E3E76 #66763E
analogous
#3E4A76 #4E3E76 #6A3E76
triadic
#4E3E76 #764E3E #3E764E
tetradic
#4E3E76 #763E4A #66763E #3E766A
square
#4E3E76 #763E4A #66763E #3E766A
split-complementary
#4E3E76 #766A3E #4A763E
monochromatic
#191426 #33294E #4E3E76 #69539E #8977B7
Accessibility & contrast
On white
9.23
#4E3E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4E3E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E3E76
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E3E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E3E76 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#454854
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4e3e76; /* rgb */ color: rgb(78, 62, 118); /* oklch */ color: oklch(40.8% 0.092 295.2);
Tailwind
colors: {
custom: {
50: '#81739e',
500: '#4e3e76',
950: '#000000',
},
}SCSS
$custom: #4e3e76; $custom-light: #81739e; $custom-dark: #000000;
JSON
{
"hex": "#4e3e76",
"rgb": {
"r": 78,
"g": 62,
"b": 118
},
"hsl": {
"h": 257.143,
"s": 31.111,
"l": 35.294
},
"oklch": {
"l": 0.40775,
"c": 0.09241,
"h": 295.2
},
"luminance": 0.06373
}Semantic roles & 50–950 ramp
primary
#4E3E76
secondary
#93A26E
accent
#C760AA
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E