#5A4E6C#5A4E6C
#5A4E6C is a dark, muted violet. Relative luminance 0.087; OKLCH L 44.8% C 0.050 H 302.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E6C |
|---|---|
| RGB | rgb(90, 78, 108) |
| HSL | hsl(264, 16%, 36%) |
| HSV | hsv(264, 28%, 42%) |
| CMYK | cmyk(16.7%, 27.8%, 0%, 57.6%) |
| CIE-LAB | lab(35.41, 11.64, -15.47) |
| CIE-LCH | lch(35.41, 19.36, 306.95°) |
| OKLab | oklab(44.77% 0.0272 -0.0423) |
| OKLCH | oklch(44.77% 0.05 302.7) |
| XYZ | xyz(9.6471, 8.7052, 15.3565) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 8.13
Dirty Purple
#734A65
ΔE00 9.34
Twilight
#4E518B
ΔE00 9.93
Muted Purple
#805B87
ΔE00 10.36
Purplish Grey
#7A687F
ΔE00 10.45
Dusty Purple
#825F87
ΔE00 10.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E6C #606C4E
analogous
#4E516C #5A4E6C #694E6C
triadic
#5A4E6C #6C5A4E #4E6C5A
tetradic
#5A4E6C #6C4E51 #606C4E #4E6C69
square
#5A4E6C #6C4E51 #606C4E #4E6C69
split-complementary
#5A4E6C #6C694E #516C4E
monochromatic
#1F1B25 #3C3448 #5A4E6C #786890 #978AAA
Accessibility & contrast
On white
7.66
#5A4E6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#5A4E6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E6C
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E6C | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#4A536B
Tritanopia (blue-blind)
#575258
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5a4e6c; /* rgb */ color: rgb(90, 78, 108); /* oklch */ color: oklch(44.8% 0.050 302.7);
Tailwind
colors: {
custom: {
50: '#897f96',
500: '#5a4e6c',
950: '#000000',
},
}SCSS
$custom: #5a4e6c; $custom-light: #897f96; $custom-dark: #000000;
JSON
{
"hex": "#5a4e6c",
"rgb": {
"r": 90,
"g": 78,
"b": 108
},
"hsl": {
"h": 264,
"s": 16.129,
"l": 36.471
},
"oklch": {
"l": 0.44769,
"c": 0.05033,
"h": 302.7
},
"luminance": 0.08705
}Semantic roles & 50–950 ramp
primary
#5A4E6C
secondary
#8E987E
accent
#B96F9B
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0B0A0D
muted
#7C7C7E