#4A405F#4A405F
#4A405F is a dark, muted violet. Relative luminance 0.059; OKLCH L 39.5% C 0.053 H 298.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4A405F |
|---|---|
| RGB | rgb(74, 64, 95) |
| HSL | hsl(259, 19%, 31%) |
| HSV | hsv(259, 33%, 37%) |
| CMYK | cmyk(22.1%, 32.6%, 0%, 62.7%) |
| CIE-LAB | lab(29.28, 11.59, -16.79) |
| CIE-LCH | lch(29.28, 20.40, 304.62°) |
| OKLab | oklab(39.49% 0.0254 -0.0463) |
| OKLCH | oklch(39.49% 0.053 298.8) |
| XYZ | xyz(6.7225, 5.9488, 11.6183) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 9.48
Twilight
#4E518B
ΔE00 10.78
Dirty Purple
#734A65
ΔE00 11.67
Darkslateblue
#483D8B
ΔE00 11.78
Grape
#6C3461
ΔE00 11.82
Navy Blue
#1B2A4A
ΔE00 11.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A405F #555F40
analogous
#40455F #4A405F #59405F
triadic
#4A405F #5F4A40 #405F4A
tetradic
#4A405F #5F4045 #555F40 #405F59
square
#4A405F #5F4045 #555F40 #405F59
split-complementary
#4A405F #5F5940 #455F40
monochromatic
#110F16 #2E273A #4A405F #665984 #8576A3
Accessibility & contrast
On white
9.59
#4A405F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4A405F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A405F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A405F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#3B455E
Tritanopia (blue-blind)
#46454B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4a405f; /* rgb */ color: rgb(74, 64, 95); /* oklch */ color: oklch(39.5% 0.053 298.8);
Tailwind
colors: {
custom: {
50: '#7d748c',
500: '#4a405f',
950: '#000000',
},
}SCSS
$custom: #4a405f; $custom-light: #7d748c; $custom-dark: #000000;
JSON
{
"hex": "#4a405f",
"rgb": {
"r": 74,
"g": 64,
"b": 95
},
"hsl": {
"h": 259.355,
"s": 19.497,
"l": 31.176
},
"oklch": {
"l": 0.39488,
"c": 0.05281,
"h": 298.8
},
"luminance": 0.05949
}Semantic roles & 50–950 ramp
primary
#4A405F
secondary
#838F6C
accent
#BC6CA2
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#09080C
muted
#7B7B7D