#52405E#52405E
#52405E is a dark, muted violet. Relative luminance 0.063; OKLCH L 40.3% C 0.054 H 311.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #52405E |
|---|---|
| RGB | rgb(82, 64, 94) |
| HSL | hsl(276, 19%, 31%) |
| HSV | hsv(276, 32%, 37%) |
| CMYK | cmyk(12.8%, 31.9%, 0%, 63.1%) |
| CIE-LAB | lab(30.08, 14.23, -14.84) |
| CIE-LCH | lch(30.08, 20.56, 313.79°) |
| OKLab | oklab(40.28% 0.0357 -0.0406) |
| OKLCH | oklch(40.28% 0.054 311.4) |
| XYZ | xyz(7.3331, 6.2689, 11.4112) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dirty Purple
#734A65
ΔE00 9.00
Grape
#6C3461
ΔE00 9.31
Dusk
#4E5481
ΔE00 11.24
Bruise
#7E4071
ΔE00 11.36
Twilight
#4E518B
ΔE00 12.28
Muted Purple
#805B87
ΔE00 12.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52405E #4C5E40
analogous
#43405E #52405E #5E405B
triadic
#52405E #5E5240 #405E52
tetradic
#52405E #5E4340 #4C5E40 #405B5E
square
#52405E #5E4340 #4C5E40 #405B5E
split-complementary
#52405E #5B5E40 #405E43
monochromatic
#120E15 #32273A #52405E #725982 #9176A2
Accessibility & contrast
On white
9.32
#52405E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#52405E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52405E
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52405E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52405E | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#51444B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #52405e; /* rgb */ color: rgb(82, 64, 94); /* oklch */ color: oklch(40.3% 0.054 311.4);
Tailwind
colors: {
custom: {
50: '#83758b',
500: '#52405e',
950: '#000000',
},
}SCSS
$custom: #52405e; $custom-light: #83758b; $custom-dark: #000000;
JSON
{
"hex": "#52405e",
"rgb": {
"r": 82,
"g": 64,
"b": 94
},
"hsl": {
"h": 276,
"s": 18.987,
"l": 30.98
},
"oklch": {
"l": 0.40284,
"c": 0.05411,
"h": 311.4
},
"luminance": 0.06269
}Semantic roles & 50–950 ramp
primary
#52405E
secondary
#7A8D6C
accent
#BC6C8C
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A080C
muted
#7C7B7D