#4E4475#4E4475
#4E4475 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 41.9% C 0.080 H 291.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4475 |
|---|---|
| RGB | rgb(78, 68, 117) |
| HSL | hsl(252, 26%, 36%) |
| HSV | hsv(252, 42%, 46%) |
| CMYK | cmyk(33.3%, 41.9%, 0%, 54.1%) |
| CIE-LAB | lab(31.89, 16.45, -26.66) |
| CIE-LCH | lch(31.89, 31.33, 301.67°) |
| OKLab | oklab(41.94% 0.0301 -0.0747) |
| OKLCH | oklch(41.94% 0.08 291.9) |
| XYZ | xyz(8.4191, 7.0381, 17.7411) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 6.09
Dusk
#4E5481
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.49
Blueberry
#464196
ΔE00 7.98
Rebeccapurple
#663399
ΔE00 10.81
Royal Purple
#7851A9
ΔE00 11.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4475 #6B7544
analogous
#445375 #4E4475 #674475
triadic
#4E4475 #754E44 #44754E
tetradic
#4E4475 #754453 #6B7544 #447567
square
#4E4475 #754453 #6B7544 #447567
split-complementary
#4E4475 #756744 #537544
monochromatic
#1A1728 #342E4E #4E4475 #685A9C #8A7FB5
Accessibility & contrast
On white
8.72
#4E4475 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#4E4475 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4475
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4475 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4475 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354C77
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#454D57
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e4475; /* rgb */ color: rgb(78, 68, 117); /* oklch */ color: oklch(41.9% 0.080 291.9);
Tailwind
colors: {
custom: {
50: '#81789d',
500: '#4e4475',
950: '#000000',
},
}SCSS
$custom: #4e4475; $custom-light: #81789d; $custom-dark: #000000;
JSON
{
"hex": "#4e4475",
"rgb": {
"r": 78,
"g": 68,
"b": 117
},
"hsl": {
"h": 252.245,
"s": 26.486,
"l": 36.275
},
"oklch": {
"l": 0.41937,
"c": 0.08048,
"h": 291.9
},
"luminance": 0.07038
}Semantic roles & 50–950 ramp
primary
#4E4475
secondary
#97A075
accent
#C365B0
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E