#4E4470#4E4470
#4E4470 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.7% C 0.073 H 293.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4470 |
|---|---|
| RGB | rgb(78, 68, 112) |
| HSL | hsl(254, 24%, 35%) |
| HSV | hsv(254, 39%, 44%) |
| CMYK | cmyk(30.4%, 39.3%, 0%, 56.1%) |
| CIE-LAB | lab(31.63, 15.02, -23.93) |
| CIE-LCH | lch(31.63, 28.25, 302.11°) |
| OKLab | oklab(41.65% 0.0289 -0.0667) |
| OKLCH | oklch(41.65% 0.073 293.4) |
| XYZ | xyz(8.1329, 6.9237, 16.2340) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 6.70
Twilight
#4E518B
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.82
Blueberry
#464196
ΔE00 9.33
Rebeccapurple
#663399
ΔE00 11.79
Grape
#6C3461
ΔE00 12.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4470 #667044
analogous
#445070 #4E4470 #644470
triadic
#4E4470 #704E44 #44704E
tetradic
#4E4470 #704450 #667044 #447064
square
#4E4470 #704450 #667044 #447064
split-complementary
#4E4470 #706444 #507044
monochromatic
#191624 #332D4A #4E4470 #695B96 #897EB1
Accessibility & contrast
On white
8.81
#4E4470 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#4E4470 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4470
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4470 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4470 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#474C54
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e4470; /* rgb */ color: rgb(78, 68, 112); /* oklch */ color: oklch(41.7% 0.073 293.4);
Tailwind
colors: {
custom: {
50: '#817899',
500: '#4e4470',
950: '#000000',
},
}SCSS
$custom: #4e4470; $custom-light: #817899; $custom-dark: #000000;
JSON
{
"hex": "#4e4470",
"rgb": {
"r": 78,
"g": 68,
"b": 112
},
"hsl": {
"h": 253.636,
"s": 24.444,
"l": 35.294
},
"oklch": {
"l": 0.41652,
"c": 0.07273,
"h": 293.4
},
"luminance": 0.06924
}Semantic roles & 50–950 ramp
primary
#4E4470
secondary
#939C74
accent
#C167AC
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E