#4E4075#4E4075
#4E4075 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.1% C 0.087 H 294.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4075 |
|---|---|
| RGB | rgb(78, 64, 117) |
| HSL | hsl(256, 29%, 35%) |
| HSV | hsv(256, 45%, 46%) |
| CMYK | cmyk(33.3%, 45.3%, 0%, 54.1%) |
| CIE-LAB | lab(30.81, 19.04, -28.37) |
| CIE-LCH | lch(30.81, 34.17, 303.86°) |
| OKLab | oklab(41.12% 0.0361 -0.0796) |
| OKLCH | oklch(41.12% 0.087 294.4) |
| XYZ | xyz(8.1854, 6.5707, 17.6632) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.76
Twilight
#4E518B
ΔE00 7.00
Blueberry
#464196
ΔE00 7.58
Dusk
#4E5481
ΔE00 7.67
Rebeccapurple
#663399
ΔE00 9.72
Ocean Blue
#4F42B5
ΔE00 11.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4075 #677540
analogous
#404C75 #4E4075 #684075
triadic
#4E4075 #754E40 #40754E
tetradic
#4E4075 #75404C #677540 #407568
square
#4E4075 #75404C #677540 #407568
split-complementary
#4E4075 #756840 #4C7540
monochromatic
#191526 #342A4D #4E4075 #68569D #8979B6
Accessibility & contrast
On white
9.07
#4E4075 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4E4075 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4075
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4075 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4075 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#454A55
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4e4075; /* rgb */ color: rgb(78, 64, 117); /* oklch */ color: oklch(41.1% 0.087 294.4);
Tailwind
colors: {
custom: {
50: '#81759d',
500: '#4e4075',
950: '#000000',
},
}SCSS
$custom: #4e4075; $custom-light: #81759d; $custom-dark: #000000;
JSON
{
"hex": "#4e4075",
"rgb": {
"r": 78,
"g": 64,
"b": 117
},
"hsl": {
"h": 255.849,
"s": 29.282,
"l": 35.49
},
"oklch": {
"l": 0.41115,
"c": 0.08743,
"h": 294.4
},
"luminance": 0.06571
}Semantic roles & 50–950 ramp
primary
#4E4075
secondary
#94A170
accent
#C662AB
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E