#5D4F86#5D4F86
#5D4F86 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.6% C 0.088 H 294.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4F86 |
|---|---|
| RGB | rgb(93, 79, 134) |
| HSL | hsl(255, 26%, 42%) |
| HSV | hsv(255, 41%, 53%) |
| CMYK | cmyk(30.6%, 41%, 0%, 47.5%) |
| CIE-LAB | lab(37.19, 18.84, -28.77) |
| CIE-LCH | lch(37.19, 34.39, 303.22°) |
| OKLab | oklab(46.6% 0.0365 -0.0804) |
| OKLCH | oklch(46.6% 0.088 294.4) |
| XYZ | xyz(11.6122, 9.6402, 23.7986) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.82
Dusk
#4E5481
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 7.56
Blueberry
#464196
ΔE00 8.19
Royal Purple
#7851A9
ΔE00 8.21
Muted Purple
#805B87
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4F86 #78864F
analogous
#4F5D86 #5D4F86 #794F86
triadic
#5D4F86 #865D4F #4F865D
tetradic
#5D4F86 #864F5D #78864F #4F8679
square
#5D4F86 #864F5D #78864F #4F8679
split-complementary
#5D4F86 #86794F #5D864F
monochromatic
#282239 #42385F #5D4F86 #7A6BA8 #9D91BE
Accessibility & contrast
On white
7.17
#5D4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5D4F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D4F86
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4F86 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#545964
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5d4f86; /* rgb */ color: rgb(93, 79, 134); /* oklch */ color: oklch(46.6% 0.088 294.4);
Tailwind
colors: {
custom: {
50: '#8c80a9',
500: '#5d4f86',
950: '#000000',
},
}SCSS
$custom: #5d4f86; $custom-light: #8c80a9; $custom-dark: #000000;
JSON
{
"hex": "#5d4f86",
"rgb": {
"r": 93,
"g": 79,
"b": 134
},
"hsl": {
"h": 255.273,
"s": 25.822,
"l": 41.765
},
"oklch": {
"l": 0.46598,
"c": 0.08833,
"h": 294.4
},
"luminance": 0.0964
}Semantic roles & 50–950 ramp
primary
#5D4F86
secondary
#A2AB86
accent
#C266AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F