#524860#524860
#524860 is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.1% C 0.041 H 303.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #524860 |
|---|---|
| RGB | rgb(82, 72, 96) |
| HSL | hsl(265, 14%, 33%) |
| HSV | hsv(265, 25%, 38%) |
| CMYK | cmyk(14.6%, 25%, 0%, 62.4%) |
| CIE-LAB | lab(32.42, 9.57, -12.54) |
| CIE-LCH | lch(32.42, 15.78, 307.34°) |
| OKLab | oklab(42.11% 0.0228 -0.0342) |
| OKLCH | oklch(42.11% 0.041 303.7) |
| XYZ | xyz(7.9080, 7.2731, 12.0513) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 9.70
Dirty Purple
#734A65
ΔE00 10.40
Twilight
#4E518B
ΔE00 11.80
Purplish Grey
#7A687F
ΔE00 12.53
Grape
#6C3461
ΔE00 12.54
Muted Purple
#805B87
ΔE00 13.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524860 #566048
analogous
#484A60 #524860 #5E4860
triadic
#524860 #605248 #486052
tetradic
#524860 #60484A #566048 #48605E
square
#524860 #60484A #566048 #48605E
split-complementary
#524860 #605E48 #4A6048
monochromatic
#16141A #342E3D #524860 #706283 #8F82A1
Accessibility & contrast
On white
8.56
#524860 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#524860 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #524860
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524860 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524860 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C61
Deuteranopia (green-blind)
#454C5F
Tritanopia (blue-blind)
#504B50
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #524860; /* rgb */ color: rgb(82, 72, 96); /* oklch */ color: oklch(42.1% 0.041 303.7);
Tailwind
colors: {
custom: {
50: '#837b8d',
500: '#524860',
950: '#000000',
},
}SCSS
$custom: #524860; $custom-light: #837b8d; $custom-dark: #000000;
JSON
{
"hex": "#524860",
"rgb": {
"r": 82,
"g": 72,
"b": 96
},
"hsl": {
"h": 265,
"s": 14.286,
"l": 32.941
},
"oklch": {
"l": 0.4211,
"c": 0.04109,
"h": 303.7
},
"luminance": 0.07273
}Semantic roles & 50–950 ramp
primary
#524860
secondary
#848E75
accent
#B7719A
background
#F8F7F8
surface
#EFEDF0
border
#CAC8CB
text
#0A090C
muted
#7C7B7D