#5E577F#5E577F
#5E577F is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.0% C 0.064 H 291.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5E577F |
|---|---|
| RGB | rgb(94, 87, 127) |
| HSL | hsl(251, 19%, 42%) |
| HSV | hsv(251, 31%, 50%) |
| CMYK | cmyk(26%, 31.5%, 0%, 50.2%) |
| CIE-LAB | lab(39.12, 12.23, -21.47) |
| CIE-LCH | lch(39.12, 24.71, 299.67°) |
| OKLab | oklab(47.99% 0.0238 -0.0594) |
| OKLCH | oklch(47.99% 0.064 291.8) |
| XYZ | xyz(11.8541, 10.7282, 21.5208) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 4.93
Twilight
#4E518B
ΔE00 6.45
Muted Purple
#805B87
ΔE00 9.39
Dusty Purple
#825F87
ΔE00 9.88
Purplish Grey
#7A687F
ΔE00 9.92
Dusky Blue
#475F94
ΔE00 10.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E577F #787F57
analogous
#57647F #5E577F #72577F
triadic
#5E577F #7F5E57 #577F5E
tetradic
#5E577F #7F5764 #787F57 #577F72
square
#5E577F #7F5764 #787F57 #577F72
split-complementary
#5E577F #7F7257 #647F57
monochromatic
#282536 #433E5B #5E577F #7B74A0 #9E98B8
Accessibility & contrast
On white
6.68
#5E577F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5E577F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E577F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E577F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E577F | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#575E65
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5e577f; /* rgb */ color: rgb(94, 87, 127); /* oklch */ color: oklch(48.0% 0.064 291.8);
Tailwind
colors: {
custom: {
50: '#8c86a4',
500: '#5e577f',
950: '#000000',
},
}SCSS
$custom: #5e577f; $custom-light: #8c86a4; $custom-dark: #000000;
JSON
{
"hex": "#5e577f",
"rgb": {
"r": 94,
"g": 87,
"b": 127
},
"hsl": {
"h": 250.5,
"s": 18.692,
"l": 41.961
},
"oklch": {
"l": 0.47987,
"c": 0.06398,
"h": 291.8
},
"luminance": 0.10728
}Semantic roles & 50–950 ramp
primary
#5E577F
secondary
#A2A68C
accent
#BB6CAE
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0C0B0F
muted
#7D7C7F