#4C405A#4C405A
#4C405A is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.4% C 0.046 H 305.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4C405A |
|---|---|
| RGB | rgb(76, 64, 90) |
| HSL | hsl(268, 17%, 30%) |
| HSV | hsv(268, 29%, 35%) |
| CMYK | cmyk(15.6%, 28.9%, 0%, 64.7%) |
| CIE-LAB | lab(29.26, 11.02, -13.58) |
| CIE-LCH | lch(29.26, 17.48, 309.06°) |
| OKLab | oklab(39.45% 0.0265 -0.0371) |
| OKLCH | oklch(39.45% 0.046 305.5) |
| XYZ | xyz(6.6590, 5.9415, 10.4669) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dirty Purple
#734A65
ΔE00 10.81
Dusk
#4E5481
ΔE00 10.87
Grape
#6C3461
ΔE00 11.50
Twilight
#4E518B
ΔE00 12.45
Navy Blue
#1B2A4A
ΔE00 12.94
Bruise
#7E4071
ΔE00 13.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C405A #4E5A40
analogous
#40415A #4C405A #59405A
triadic
#4C405A #5A4C40 #405A4C
tetradic
#4C405A #5A4041 #4E5A40 #405A59
square
#4C405A #5A4041 #4E5A40 #405A59
split-complementary
#4C405A #5A5940 #415A40
monochromatic
#100D12 #2E2736 #4C405A #6A597E #89769E
Accessibility & contrast
On white
9.60
#4C405A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4C405A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C405A
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C405A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C405A | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#3D4559
Tritanopia (blue-blind)
#4A4449
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4c405a; /* rgb */ color: rgb(76, 64, 90); /* oklch */ color: oklch(39.4% 0.046 305.5);
Tailwind
colors: {
custom: {
50: '#7e7488',
500: '#4c405a',
950: '#000000',
},
}SCSS
$custom: #4c405a; $custom-light: #7e7488; $custom-dark: #000000;
JSON
{
"hex": "#4c405a",
"rgb": {
"r": 76,
"g": 64,
"b": 90
},
"hsl": {
"h": 267.692,
"s": 16.883,
"l": 30.196
},
"oklch": {
"l": 0.39449,
"c": 0.0456,
"h": 305.5
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#4C405A
secondary
#7C896C
accent
#BA6E97
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C