#4E4168#4E4168
#4E4168 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.6% C 0.066 H 298.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4168 |
|---|---|
| RGB | rgb(78, 65, 104) |
| HSL | hsl(260, 23%, 33%) |
| HSV | hsv(260, 38%, 41%) |
| CMYK | cmyk(25%, 37.5%, 0%, 59.2%) |
| CIE-LAB | lab(30.40, 14.75, -20.78) |
| CIE-LCH | lch(30.40, 25.49, 305.36°) |
| OKLab | oklab(40.58% 0.0317 -0.0577) |
| OKLCH | oklch(40.58% 0.066 298.8) |
| XYZ | xyz(7.5303, 6.3997, 13.9326) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.51
Twilight
#4E518B
ΔE00 9.10
Darkslateblue
#483D8B
ΔE00 9.55
Grape
#6C3461
ΔE00 10.90
Blueberry
#464196
ΔE00 11.25
Dirty Purple
#734A65
ΔE00 11.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4168 #5B6841
analogous
#414768 #4E4168 #614168
triadic
#4E4168 #684E41 #41684E
tetradic
#4E4168 #684147 #5B6841 #416861
square
#4E4168 #684147 #5B6841 #416861
split-complementary
#4E4168 #686141 #476841
monochromatic
#16121D #322942 #4E4168 #6A598E #8978AB
Accessibility & contrast
On white
9.21
#4E4168 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#4E4168 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4168
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4168 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4168 | 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)
#38486A
Deuteranopia (green-blind)
#3A4767
Tritanopia (blue-blind)
#49474F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4e4168; /* rgb */ color: rgb(78, 65, 104); /* oklch */ color: oklch(40.6% 0.066 298.8);
Tailwind
colors: {
custom: {
50: '#807593',
500: '#4e4168',
950: '#000000',
},
}SCSS
$custom: #4e4168; $custom-light: #807593; $custom-dark: #000000;
JSON
{
"hex": "#4e4168",
"rgb": {
"r": 78,
"g": 65,
"b": 104
},
"hsl": {
"h": 260,
"s": 23.077,
"l": 33.137
},
"oklch": {
"l": 0.4058,
"c": 0.06578,
"h": 298.8
},
"luminance": 0.064
}Semantic roles & 50–950 ramp
primary
#4E4168
secondary
#89976E
accent
#C068A2
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E