#4D405F#4D405F
#4D405F is a dark, muted violet. Relative luminance 0.061; OKLCH L 39.8% C 0.054 H 303.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4D405F |
|---|---|
| RGB | rgb(77, 64, 95) |
| HSL | hsl(265, 19%, 31%) |
| HSV | hsv(265, 33%, 37%) |
| CMYK | cmyk(18.9%, 32.6%, 0%, 62.7%) |
| CIE-LAB | lab(29.59, 12.66, -16.29) |
| CIE-LCH | lch(29.59, 20.63, 307.87°) |
| OKLab | oklab(39.8% 0.0294 -0.0448) |
| OKLCH | oklch(39.8% 0.054 303.3) |
| XYZ | xyz(6.9591, 6.0708, 11.6294) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 10.03
Dirty Purple
#734A65
ΔE00 10.67
Grape
#6C3461
ΔE00 10.83
Twilight
#4E518B
ΔE00 11.22
Darkslateblue
#483D8B
ΔE00 12.12
Bruise
#7E4071
ΔE00 12.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D405F #525F40
analogous
#40425F #4D405F #5C405F
triadic
#4D405F #5F4D40 #405F4D
tetradic
#4D405F #5F4042 #525F40 #405F5C
square
#4D405F #5F4042 #525F40 #405F5C
split-complementary
#4D405F #5F5C40 #425F40
monochromatic
#120F16 #2F273A #4D405F #6B5984 #8976A3
Accessibility & contrast
On white
9.48
#4D405F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4D405F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D405F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D405F | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4560
Deuteranopia (green-blind)
#3C465E
Tritanopia (blue-blind)
#4A454B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4d405f; /* rgb */ color: rgb(77, 64, 95); /* oklch */ color: oklch(39.8% 0.054 303.3);
Tailwind
colors: {
custom: {
50: '#7f758c',
500: '#4d405f',
950: '#000000',
},
}SCSS
$custom: #4d405f; $custom-light: #7f758c; $custom-dark: #000000;
JSON
{
"hex": "#4d405f",
"rgb": {
"r": 77,
"g": 64,
"b": 95
},
"hsl": {
"h": 265.161,
"s": 19.497,
"l": 31.176
},
"oklch": {
"l": 0.39797,
"c": 0.05359,
"h": 303.3
},
"luminance": 0.06071
}Semantic roles & 50–950 ramp
primary
#4D405F
secondary
#808F6C
accent
#BC6C9A
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D