#4E4472#4E4472
#4E4472 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 41.8% C 0.076 H 292.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4472 |
|---|---|
| RGB | rgb(78, 68, 114) |
| HSL | hsl(253, 25%, 36%) |
| HSV | hsv(253, 40%, 45%) |
| CMYK | cmyk(31.6%, 40.4%, 0%, 55.3%) |
| CIE-LAB | lab(31.74, 15.58, -25.03) |
| CIE-LCH | lch(31.74, 29.48, 301.91°) |
| OKLab | oklab(41.77% 0.0294 -0.0699) |
| OKLCH | oklch(41.77% 0.076 292.8) |
| XYZ | xyz(8.2455, 6.9687, 16.8270) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 6.53
Twilight
#4E518B
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 7.27
Blueberry
#464196
ΔE00 8.77
Rebeccapurple
#663399
ΔE00 11.38
Grape
#6C3461
ΔE00 12.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4472 #687244
analogous
#445172 #4E4472 #654472
triadic
#4E4472 #724E44 #44724E
tetradic
#4E4472 #724451 #687244 #447265
square
#4E4472 #724451 #687244 #447265
split-complementary
#4E4472 #726544 #517244
monochromatic
#1A1625 #342D4C #4E4472 #685B98 #8A7EB2
Accessibility & contrast
On white
8.77
#4E4472 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#4E4472 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4472
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4472 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#464C55
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4472; /* rgb */ color: rgb(78, 68, 114); /* oklch */ color: oklch(41.8% 0.076 292.8);
Tailwind
colors: {
custom: {
50: '#81789b',
500: '#4e4472',
950: '#000000',
},
}SCSS
$custom: #4e4472; $custom-light: #81789b; $custom-dark: #000000;
JSON
{
"hex": "#4e4472",
"rgb": {
"r": 78,
"g": 68,
"b": 114
},
"hsl": {
"h": 253.043,
"s": 25.275,
"l": 35.686
},
"oklch": {
"l": 0.41765,
"c": 0.07584,
"h": 292.8
},
"luminance": 0.06969
}Semantic roles & 50–950 ramp
primary
#4E4472
secondary
#959E74
accent
#C266AE
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E