#4E4166#4E4166
#4E4166 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.5% C 0.063 H 299.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4166 |
|---|---|
| RGB | rgb(78, 65, 102) |
| HSL | hsl(261, 22%, 33%) |
| HSV | hsv(261, 36%, 40%) |
| CMYK | cmyk(23.5%, 36.3%, 0%, 60%) |
| CIE-LAB | lab(30.30, 14.21, -19.66) |
| CIE-LCH | lch(30.30, 24.26, 305.86°) |
| OKLab | oklab(40.47% 0.0311 -0.0544) |
| OKLCH | oklch(40.47% 0.063 299.8) |
| XYZ | xyz(7.4299, 6.3596, 13.4039) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.80
Twilight
#4E518B
ΔE00 9.56
Darkslateblue
#483D8B
ΔE00 10.17
Grape
#6C3461
ΔE00 10.82
Dirty Purple
#734A65
ΔE00 11.11
Blueberry
#464196
ΔE00 11.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4166 #596641
analogous
#414666 #4E4166 #604166
triadic
#4E4166 #664E41 #41664E
tetradic
#4E4166 #664146 #596641 #416660
square
#4E4166 #664146 #596641 #416660
split-complementary
#4E4166 #666041 #466641
monochromatic
#15111B #312941 #4E4166 #6B598B #8978A9
Accessibility & contrast
On white
9.24
#4E4166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#4E4166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4166
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4166 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#3B4765
Tritanopia (blue-blind)
#4A474F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4e4166; /* rgb */ color: rgb(78, 65, 102); /* oklch */ color: oklch(40.5% 0.063 299.8);
Tailwind
colors: {
custom: {
50: '#807591',
500: '#4e4166',
950: '#000000',
},
}SCSS
$custom: #4e4166; $custom-light: #807591; $custom-dark: #000000;
JSON
{
"hex": "#4e4166",
"rgb": {
"r": 78,
"g": 65,
"b": 102
},
"hsl": {
"h": 261.081,
"s": 22.156,
"l": 32.745
},
"oklch": {
"l": 0.40474,
"c": 0.0627,
"h": 299.8
},
"luminance": 0.0636
}Semantic roles & 50–950 ramp
primary
#4E4166
secondary
#87956E
accent
#BF69A1
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080D
muted
#7C7B7D