#4E4262#4E4262
#4E4262 is a dark, muted violet. Relative luminance 0.064; OKLCH L 40.5% C 0.055 H 301.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4262 |
|---|---|
| RGB | rgb(78, 66, 98) |
| HSL | hsl(263, 20%, 32%) |
| HSV | hsv(263, 33%, 38%) |
| CMYK | cmyk(20.4%, 32.7%, 0%, 61.6%) |
| CIE-LAB | lab(30.40, 12.50, -16.96) |
| CIE-LCH | lch(30.40, 21.07, 306.39°) |
| OKLab | oklab(40.48% 0.0283 -0.0467) |
| OKLCH | oklch(40.48% 0.055 301.2) |
| XYZ | xyz(7.2942, 6.3980, 12.4036) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 9.26
Twilight
#4E518B
ΔE00 10.48
Dirty Purple
#734A65
ΔE00 10.74
Grape
#6C3461
ΔE00 11.12
Darkslateblue
#483D8B
ΔE00 11.67
Bruise
#7E4071
ΔE00 12.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4262 #566242
analogous
#424662 #4E4262 #5E4262
triadic
#4E4262 #624E42 #42624E
tetradic
#4E4262 #624246 #566242 #42625E
square
#4E4262 #624246 #566242 #42625E
split-complementary
#4E4262 #625E42 #466242
monochromatic
#141119 #31293D #4E4262 #6B5B87 #8A79A5
Accessibility & contrast
On white
9.21
#4E4262 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#4E4262 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4262
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4262 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4262 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#3D4761
Tritanopia (blue-blind)
#4B474D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4e4262; /* rgb */ color: rgb(78, 66, 98); /* oklch */ color: oklch(40.5% 0.055 301.2);
Tailwind
colors: {
custom: {
50: '#80768e',
500: '#4e4262',
950: '#000000',
},
}SCSS
$custom: #4e4262; $custom-light: #80768e; $custom-dark: #000000;
JSON
{
"hex": "#4e4262",
"rgb": {
"r": 78,
"g": 66,
"b": 98
},
"hsl": {
"h": 262.5,
"s": 19.512,
"l": 32.157
},
"oklch": {
"l": 0.40483,
"c": 0.05462,
"h": 301.2
},
"luminance": 0.06398
}Semantic roles & 50–950 ramp
primary
#4E4262
secondary
#84916F
accent
#BC6C9E
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D