#4E4758#4E4758
#4E4758 is a dark, muted violet. Relative luminance 0.068; OKLCH L 41.1% C 0.029 H 303.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4758 |
|---|---|
| RGB | rgb(78, 71, 88) |
| HSL | hsl(265, 11%, 31%) |
| HSV | hsv(265, 19%, 35%) |
| CMYK | cmyk(11.4%, 19.3%, 0%, 65.5%) |
| CIE-LAB | lab(31.42, 6.74, -8.99) |
| CIE-LCH | lch(31.42, 11.24, 306.85°) |
| OKLab | oklab(41.13% 0.0163 -0.0243) |
| OKLCH | oklch(41.13% 0.029 303.8) |
| XYZ | xyz(7.1562, 6.8308, 10.1721) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 11.40
Dirty Purple
#734A65
ΔE00 12.30
Dark Grey
#363737
ΔE00 12.51
Charcoal Grey
#3C4142
ΔE00 12.53
Onyx
#353839
ΔE00 12.76
Charcoal
#36454F
ΔE00 13.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4758 #515847
analogous
#474858 #4E4758 #564758
triadic
#4E4758 #584E47 #47584E
tetradic
#4E4758 #584748 #515847 #475856
square
#4E4758 #584748 #515847 #475856
split-complementary
#4E4758 #585647 #485847
monochromatic
#121014 #302C36 #4E4758 #6C627A #8B8099
Accessibility & contrast
On white
8.87
#4E4758 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#4E4758 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4758
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4758 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#454A57
Tritanopia (blue-blind)
#4D494D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #4e4758; /* rgb */ color: rgb(78, 71, 88); /* oklch */ color: oklch(41.1% 0.029 303.8);
Tailwind
colors: {
custom: {
50: '#7f7a87',
500: '#4e4758',
950: '#000000',
},
}SCSS
$custom: #4e4758; $custom-light: #7f7a87; $custom-dark: #000000;
JSON
{
"hex": "#4e4758",
"rgb": {
"r": 78,
"g": 71,
"b": 88
},
"hsl": {
"h": 264.706,
"s": 10.692,
"l": 31.176
},
"oklch": {
"l": 0.41134,
"c": 0.02931,
"h": 303.8
},
"luminance": 0.06831
}Semantic roles & 50–950 ramp
primary
#4E4758
secondary
#7F8774
accent
#B47499
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A090B
muted
#7C7B7C