#5E5872#5E5872
#5E5872 is a mid, muted violet. Relative luminance 0.106; OKLCH L 47.6% C 0.042 H 295.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5872 |
|---|---|
| RGB | rgb(94, 88, 114) |
| HSL | hsl(254, 13%, 40%) |
| HSV | hsv(254, 23%, 45%) |
| CMYK | cmyk(17.5%, 22.8%, 0%, 55.3%) |
| CIE-LAB | lab(38.85, 8.27, -13.90) |
| CIE-LCH | lch(38.85, 16.17, 300.76°) |
| OKLab | oklab(47.6% 0.018 -0.0379) |
| OKLCH | oklch(47.6% 0.042 295.3) |
| XYZ | xyz(11.1424, 10.5740, 17.3703) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 7.68
Purplish Grey
#7A687F
ΔE00 8.36
Twilight
#4E518B
ΔE00 10.26
Grey Purple
#826D8C
ΔE00 10.80
Muted Purple
#805B87
ΔE00 10.85
Dusty Purple
#825F87
ΔE00 10.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5872 #6C7258
analogous
#585F72 #5E5872 #6B5872
triadic
#5E5872 #725E58 #58725E
tetradic
#5E5872 #72585F #6C7258 #58726B
square
#5E5872 #72585F #6C7258 #58726B
split-complementary
#5E5872 #726B58 #5F7258
monochromatic
#25232D #423D4F #5E5872 #7B7493 #9C96AE
Accessibility & contrast
On white
6.74
#5E5872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#5E5872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5872
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5872 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525C73
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#5A5C61
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5e5872; /* rgb */ color: rgb(94, 88, 114); /* oklch */ color: oklch(47.6% 0.042 295.3);
Tailwind
colors: {
custom: {
50: '#8c879a',
500: '#5e5872',
950: '#000000',
},
}SCSS
$custom: #5e5872; $custom-light: #8c879a; $custom-dark: #000000;
JSON
{
"hex": "#5e5872",
"rgb": {
"r": 94,
"g": 88,
"b": 114
},
"hsl": {
"h": 253.846,
"s": 12.871,
"l": 39.608
},
"oklch": {
"l": 0.47601,
"c": 0.04197,
"h": 295.3
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#5E5872
secondary
#989D89
accent
#B672A6
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0B0E
muted
#7D7C7E