#4E4862#4E4862
#4E4862 is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.8% C 0.043 H 295.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4862 |
|---|---|
| RGB | rgb(78, 72, 98) |
| HSL | hsl(254, 15%, 33%) |
| HSV | hsv(254, 27%, 38%) |
| CMYK | cmyk(20.4%, 26.5%, 0%, 61.6%) |
| CIE-LAB | lab(32.12, 8.61, -14.32) |
| CIE-LCH | lch(32.12, 16.71, 301.03°) |
| OKLab | oklab(41.81% 0.0183 -0.0392) |
| OKLCH | oklch(41.81% 0.043 295) |
| XYZ | xyz(7.6634, 7.1362, 12.5266) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.38
Twilight
#4E518B
ΔE00 10.56
Dirty Purple
#734A65
ΔE00 11.95
Navy Blue
#1B2A4A
ΔE00 13.08
Darkslateblue
#483D8B
ΔE00 13.17
Purplish Grey
#7A687F
ΔE00 13.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4862 #5C6248
analogous
#484F62 #4E4862 #5B4862
triadic
#4E4862 #624E48 #48624E
tetradic
#4E4862 #62484F #5C6248 #48625B
square
#4E4862 #62484F #5C6248 #48625B
split-complementary
#4E4862 #625B48 #4F6248
monochromatic
#16141B #322E3F #4E4862 #6A6285 #8982A3
Accessibility & contrast
On white
8.65
#4E4862 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#4E4862 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4862
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4862 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424C63
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#4A4C51
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e4862; /* rgb */ color: rgb(78, 72, 98); /* oklch */ color: oklch(41.8% 0.043 295.0);
Tailwind
colors: {
custom: {
50: '#807b8e',
500: '#4e4862',
950: '#000000',
},
}SCSS
$custom: #4e4862; $custom-light: #807b8e; $custom-dark: #000000;
JSON
{
"hex": "#4e4862",
"rgb": {
"r": 78,
"g": 72,
"b": 98
},
"hsl": {
"h": 253.846,
"s": 15.294,
"l": 33.333
},
"oklch": {
"l": 0.41807,
"c": 0.04332,
"h": 295
},
"luminance": 0.07136
}Semantic roles & 50–950 ramp
primary
#4E4862
secondary
#8A9076
accent
#B870A7
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D