#5A4E5A#5A4E5A
#5A4E5A is a dark, muted grey. Relative luminance 0.084; OKLCH L 44.0% C 0.025 H 326.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E5A |
|---|---|
| RGB | rgb(90, 78, 90) |
| HSL | hsl(300, 7%, 33%) |
| HSV | hsv(300, 13%, 35%) |
| CMYK | cmyk(0%, 13.3%, 0%, 64.7%) |
| CIE-LAB | lab(34.72, 7.44, -5.19) |
| CIE-LCH | lch(34.72, 9.07, 325.12°) |
| OKLab | oklab(44.01% 0.0205 -0.0138) |
| OKLCH | oklch(44.01% 0.025 326) |
| XYZ | xyz(8.7861, 8.3607, 10.8218) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dirty Purple
#734A65
ΔE00 10.63
Purplish Brown
#6B4247
ΔE00 11.22
Purplish Grey
#7A687F
ΔE00 11.35
Umber
#635147
ΔE00 11.72
Dimgray
#696969
ΔE00 12.83
Purple Brown
#673A3F
ΔE00 12.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E5A #4E5A4E
analogous
#544E5A #5A4E5A #5A4E54
triadic
#5A4E5A #5A5A4E #4E5A5A
tetradic
#5A4E5A #5A544E #4E5A4E #4E545A
square
#5A4E5A #5A544E #4E5A4E #4E545A
split-complementary
#5A4E5A #545A4E #4E5A54
monochromatic
#181518 #393239 #5A4E5A #7B6A7B #998999
Accessibility & contrast
On white
7.86
#5A4E5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#5A4E5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E5A
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E5A | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515B
Deuteranopia (green-blind)
#50525A
Tritanopia (blue-blind)
#5B4F52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5a4e5a; /* rgb */ color: rgb(90, 78, 90); /* oklch */ color: oklch(44.0% 0.025 326.0);
Tailwind
colors: {
custom: {
50: '#887f88',
500: '#5a4e5a',
950: '#000000',
},
}SCSS
$custom: #5a4e5a; $custom-light: #887f88; $custom-dark: #000000;
JSON
{
"hex": "#5a4e5a",
"rgb": {
"r": 90,
"g": 78,
"b": 90
},
"hsl": {
"h": 300,
"s": 7.143,
"l": 32.941
},
"oklch": {
"l": 0.44011,
"c": 0.02472,
"h": 326
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#5A4E5A
secondary
#7C887C
accent
#B07878
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C