#4E415F#4E415F
#4E415F is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.052 H 304.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4E415F |
|---|---|
| RGB | rgb(78, 65, 95) |
| HSL | hsl(266, 19%, 31%) |
| HSV | hsv(266, 32%, 37%) |
| CMYK | cmyk(17.9%, 31.6%, 0%, 62.7%) |
| CIE-LAB | lab(29.98, 12.37, -15.68) |
| CIE-LCH | lch(29.98, 19.98, 308.27°) |
| OKLab | oklab(40.12% 0.029 -0.0431) |
| OKLCH | oklch(40.12% 0.052 304) |
| XYZ | xyz(7.0973, 6.2265, 11.6522) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 10.03
Dirty Purple
#734A65
ΔE00 10.43
Grape
#6C3461
ΔE00 10.87
Twilight
#4E518B
ΔE00 11.33
Darkslateblue
#483D8B
ΔE00 12.45
Bruise
#7E4071
ΔE00 12.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E415F #525F41
analogous
#41435F #4E415F #5D415F
triadic
#4E415F #5F4E41 #415F4E
tetradic
#4E415F #5F4143 #525F41 #415F5D
square
#4E415F #5F4143 #525F41 #415F5D
split-complementary
#4E415F #5F5D41 #435F41
monochromatic
#120F16 #30283B #4E415F #6C5A83 #8A78A3
Accessibility & contrast
On white
9.35
#4E415F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#4E415F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E415F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E415F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E415F | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#3D475E
Tritanopia (blue-blind)
#4B454C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #4e415f; /* rgb */ color: rgb(78, 65, 95); /* oklch */ color: oklch(40.1% 0.052 304.0);
Tailwind
colors: {
custom: {
50: '#80758c',
500: '#4e415f',
950: '#000000',
},
}SCSS
$custom: #4e415f; $custom-light: #80758c; $custom-dark: #000000;
JSON
{
"hex": "#4e415f",
"rgb": {
"r": 78,
"g": 65,
"b": 95
},
"hsl": {
"h": 266,
"s": 18.75,
"l": 31.373
},
"oklch": {
"l": 0.40118,
"c": 0.05195,
"h": 304
},
"luminance": 0.06227
}Semantic roles & 50–950 ramp
primary
#4E415F
secondary
#808E6D
accent
#BB6C99
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D