#4E4571#4E4571
#4E4571 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 41.9% C 0.073 H 292.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4571 |
|---|---|
| RGB | rgb(78, 69, 113) |
| HSL | hsl(252, 24%, 36%) |
| HSV | hsv(252, 39%, 44%) |
| CMYK | cmyk(31%, 38.9%, 0%, 55.7%) |
| CIE-LAB | lab(31.96, 14.65, -24.04) |
| CIE-LCH | lch(31.96, 28.15, 301.36°) |
| OKLab | oklab(41.92% 0.0276 -0.0671) |
| OKLCH | oklch(41.92% 0.073 292.4) |
| XYZ | xyz(8.2499, 7.0681, 16.5492) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 6.30
Twilight
#4E518B
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 7.77
Blueberry
#464196
ΔE00 9.19
Rebeccapurple
#663399
ΔE00 11.88
Dusky Blue
#475F94
ΔE00 12.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4571 #687145
analogous
#455271 #4E4571 #644571
triadic
#4E4571 #714E45 #45714E
tetradic
#4E4571 #714552 #687145 #457164
square
#4E4571 #714552 #687145 #457164
split-complementary
#4E4571 #716445 #527145
monochromatic
#1A1725 #342E4B #4E4571 #685C97 #8A7FB1
Accessibility & contrast
On white
8.70
#4E4571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4E4571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4571
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4571 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#464D55
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4571; /* rgb */ color: rgb(78, 69, 113); /* oklch */ color: oklch(41.9% 0.073 292.4);
Tailwind
colors: {
custom: {
50: '#81789a',
500: '#4e4571',
950: '#000000',
},
}SCSS
$custom: #4e4571; $custom-light: #81789a; $custom-dark: #000000;
JSON
{
"hex": "#4e4571",
"rgb": {
"r": 78,
"g": 69,
"b": 113
},
"hsl": {
"h": 252.273,
"s": 24.176,
"l": 35.686
},
"oklch": {
"l": 0.4192,
"c": 0.07253,
"h": 292.4
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#4E4571
secondary
#959D75
accent
#C167AE
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E