#5D537C#5D537C
#5D537C is a mid, moderate violet. Relative luminance 0.100; OKLCH L 46.9% C 0.066 H 294.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5D537C |
|---|---|
| RGB | rgb(93, 83, 124) |
| HSL | hsl(255, 20%, 41%) |
| HSV | hsv(255, 33%, 49%) |
| CMYK | cmyk(25%, 33.1%, 0%, 51.4%) |
| CIE-LAB | lab(37.79, 13.62, -21.70) |
| CIE-LCH | lch(37.79, 25.62, 302.11°) |
| OKLab | oklab(46.9% 0.0279 -0.0601) |
| OKLCH | oklch(46.9% 0.066 294.9) |
| XYZ | xyz(11.2447, 9.9688, 20.3966) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 5.40
Twilight
#4E518B
ΔE00 6.56
Muted Purple
#805B87
ΔE00 9.19
Dusty Purple
#825F87
ΔE00 9.86
Purplish Grey
#7A687F
ΔE00 10.57
Darkslateblue
#483D8B
ΔE00 10.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D537C #727C53
analogous
#535D7C #5D537C #71537C
triadic
#5D537C #7C5D53 #537C5D
tetradic
#5D537C #7C535D #727C53 #537C71
square
#5D537C #7C535D #727C53 #537C71
split-complementary
#5D537C #7C7153 #5D7C53
monochromatic
#262233 #423A57 #5D537C #7A6E9E #9C93B7
Accessibility & contrast
On white
7.01
#5D537C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5D537C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D537C
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D537C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D537C | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49597E
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#575A62
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5d537c; /* rgb */ color: rgb(93, 83, 124); /* oklch */ color: oklch(46.9% 0.066 294.9);
Tailwind
colors: {
custom: {
50: '#8b83a2',
500: '#5d537c',
950: '#000000',
},
}SCSS
$custom: #5d537c; $custom-light: #8b83a2; $custom-dark: #000000;
JSON
{
"hex": "#5d537c",
"rgb": {
"r": 93,
"g": 83,
"b": 124
},
"hsl": {
"h": 254.634,
"s": 19.807,
"l": 40.588
},
"oklch": {
"l": 0.46896,
"c": 0.06622,
"h": 294.9
},
"luminance": 0.09969
}Semantic roles & 50–950 ramp
primary
#5D537C
secondary
#9DA487
accent
#BC6BA9
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0A0F
muted
#7D7C7E