#4E415E#4E415E
#4E415E is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.050 H 304.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4E415E |
|---|---|
| RGB | rgb(78, 65, 94) |
| HSL | hsl(267, 18%, 31%) |
| HSV | hsv(267, 31%, 37%) |
| CMYK | cmyk(17%, 30.9%, 0%, 63.1%) |
| CIE-LAB | lab(29.93, 12.12, -15.11) |
| CIE-LCH | lch(29.93, 19.37, 308.73°) |
| OKLab | oklab(40.07% 0.0287 -0.0414) |
| OKLCH | oklch(40.07% 0.05 304.7) |
| XYZ | xyz(7.0522, 6.2085, 11.4143) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 10.23
Dirty Purple
#734A65
ΔE00 10.37
Grape
#6C3461
ΔE00 10.92
Twilight
#4E518B
ΔE00 11.60
Darkslateblue
#483D8B
ΔE00 12.80
Bruise
#7E4071
ΔE00 12.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E415E #515E41
analogous
#41425E #4E415E #5C415E
triadic
#4E415E #5E4E41 #415E4E
tetradic
#4E415E #5E4142 #515E41 #415E5C
square
#4E415E #5E4142 #515E41 #415E5C
split-complementary
#4E415E #5E5C41 #425E41
monochromatic
#120F16 #30283A #4E415E #6C5A82 #8B78A2
Accessibility & contrast
On white
9.37
#4E415E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#4E415E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E415E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E415E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E415E | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#3E475D
Tritanopia (blue-blind)
#4C454B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4e415e; /* rgb */ color: rgb(78, 65, 94); /* oklch */ color: oklch(40.1% 0.050 304.7);
Tailwind
colors: {
custom: {
50: '#80758b',
500: '#4e415e',
950: '#000000',
},
}SCSS
$custom: #4e415e; $custom-light: #80758b; $custom-dark: #000000;
JSON
{
"hex": "#4e415e",
"rgb": {
"r": 78,
"g": 65,
"b": 94
},
"hsl": {
"h": 266.897,
"s": 18.239,
"l": 31.176
},
"oklch": {
"l": 0.40069,
"c": 0.05043,
"h": 304.7
},
"luminance": 0.06208
}Semantic roles & 50–950 ramp
primary
#4E415E
secondary
#7F8D6D
accent
#BB6D98
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D