#4E4476#4E4476
#4E4476 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.0% C 0.082 H 291.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4476 |
|---|---|
| RGB | rgb(78, 68, 118) |
| HSL | hsl(252, 27%, 36%) |
| HSV | hsv(252, 42%, 46%) |
| CMYK | cmyk(33.9%, 42.4%, 0%, 53.7%) |
| CIE-LAB | lab(31.95, 16.74, -27.20) |
| CIE-LCH | lch(31.95, 31.94, 301.60°) |
| OKLab | oklab(42% 0.0303 -0.0762) |
| OKLCH | oklch(42% 0.082 291.7) |
| XYZ | xyz(8.4782, 7.0618, 18.0524) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.24
Dusk
#4E5481
ΔE00 6.28
Blueberry
#464196
ΔE00 7.72
Rebeccapurple
#663399
ΔE00 10.63
Royal Purple
#7851A9
ΔE00 11.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4476 #6C7644
analogous
#445376 #4E4476 #674476
triadic
#4E4476 #764E44 #44764E
tetradic
#4E4476 #764453 #6C7644 #447667
square
#4E4476 #764453 #6C7644 #447667
split-complementary
#4E4476 #766744 #537644
monochromatic
#1B1728 #342E4F #4E4476 #685A9D #8A7FB5
Accessibility & contrast
On white
8.71
#4E4476 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4E4476 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4476
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4476 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4476 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#454D57
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4476; /* rgb */ color: rgb(78, 68, 118); /* oklch */ color: oklch(42.0% 0.082 291.7);
Tailwind
colors: {
custom: {
50: '#81789e',
500: '#4e4476',
950: '#000000',
},
}SCSS
$custom: #4e4476; $custom-light: #81789e; $custom-dark: #000000;
JSON
{
"hex": "#4e4476",
"rgb": {
"r": 78,
"g": 68,
"b": 118
},
"hsl": {
"h": 252,
"s": 26.882,
"l": 36.471
},
"oklch": {
"l": 0.41995,
"c": 0.08202,
"h": 291.7
},
"luminance": 0.07062
}Semantic roles & 50–950 ramp
primary
#4E4476
secondary
#98A175
accent
#C365B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E