#5D4F83#5D4F83
#5D4F83 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.4% C 0.084 H 295.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4F83 |
|---|---|
| RGB | rgb(93, 79, 131) |
| HSL | hsl(256, 25%, 41%) |
| HSV | hsv(256, 40%, 51%) |
| CMYK | cmyk(29%, 39.7%, 0%, 48.6%) |
| CIE-LAB | lab(37.04, 18.02, -27.17) |
| CIE-LCH | lch(37.04, 32.60, 303.55°) |
| OKLab | oklab(46.43% 0.0359 -0.0758) |
| OKLCH | oklch(46.43% 0.084 295.3) |
| XYZ | xyz(11.4059, 9.5577, 22.7122) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.24
Dusk
#4E5481
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 8.05
Royal Purple
#7851A9
ΔE00 8.74
Blueberry
#464196
ΔE00 8.79
Muted Purple
#805B87
ΔE00 9.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4F83 #75834F
analogous
#4F5B83 #5D4F83 #774F83
triadic
#5D4F83 #835D4F #4F835D
tetradic
#5D4F83 #834F5B #75834F #4F8377
square
#5D4F83 #834F5B #75834F #4F8377
split-complementary
#5D4F83 #83774F #5B834F
monochromatic
#272137 #42385D #5D4F83 #7A6AA5 #9C90BC
Accessibility & contrast
On white
7.21
#5D4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5D4F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D4F83
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4F83 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415885
Deuteranopia (green-blind)
#435682
Tritanopia (blue-blind)
#555863
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5d4f83; /* rgb */ color: rgb(93, 79, 131); /* oklch */ color: oklch(46.4% 0.084 295.3);
Tailwind
colors: {
custom: {
50: '#8c80a7',
500: '#5d4f83',
950: '#000000',
},
}SCSS
$custom: #5d4f83; $custom-light: #8c80a7; $custom-dark: #000000;
JSON
{
"hex": "#5d4f83",
"rgb": {
"r": 93,
"g": 79,
"b": 131
},
"hsl": {
"h": 256.154,
"s": 24.762,
"l": 41.176
},
"oklch": {
"l": 0.46433,
"c": 0.08385,
"h": 295.3
},
"luminance": 0.09558
}Semantic roles & 50–950 ramp
primary
#5D4F83
secondary
#9FA985
accent
#C167A9
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F