#5D4C8D#5D4C8D
#5D4C8D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.4% C 0.104 H 294.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4C8D |
|---|---|
| RGB | rgb(93, 76, 141) |
| HSL | hsl(256, 30%, 43%) |
| HSV | hsv(256, 46%, 55%) |
| CMYK | cmyk(34%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(36.78, 22.68, -33.69) |
| CIE-LCH | lch(36.78, 40.61, 303.94°) |
| OKLab | oklab(46.41% 0.0422 -0.0947) |
| OKLCH | oklch(46.41% 0.104 294) |
| XYZ | xyz(11.9051, 9.4189, 26.3849) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.84
Darkslateblue
#483D8B
ΔE00 5.97
Blueberry
#464196
ΔE00 6.44
Dusk
#4E5481
ΔE00 6.49
Royal Purple
#7851A9
ΔE00 6.95
Rebeccapurple
#663399
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4C8D #7C8D4C
analogous
#4C5C8D #5D4C8D #7D4C8D
triadic
#5D4C8D #8D5D4C #4C8D5D
tetradic
#5D4C8D #8D4C5C #7C8D4C #4C8D7D
square
#5D4C8D #8D4C5C #7C8D4C #4C8D7D
split-complementary
#5D4C8D #8D7D4C #5C8D4C
monochromatic
#29213D #433765 #5D4C8D #7B68AE #9E90C3
Accessibility & contrast
On white
7.28
#5D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5D4C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D4C8D
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4C8D | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#3A558B
Tritanopia (blue-blind)
#525865
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5d4c8d; /* rgb */ color: rgb(93, 76, 141); /* oklch */ color: oklch(46.4% 0.104 294.0);
Tailwind
colors: {
custom: {
50: '#8d7eaf',
500: '#5d4c8d',
950: '#000000',
},
}SCSS
$custom: #5d4c8d; $custom-light: #8d7eaf; $custom-dark: #000000;
JSON
{
"hex": "#5d4c8d",
"rgb": {
"r": 93,
"g": 76,
"b": 141
},
"hsl": {
"h": 255.692,
"s": 29.954,
"l": 42.549
},
"oklch": {
"l": 0.4641,
"c": 0.10373,
"h": 294
},
"luminance": 0.09419
}Semantic roles & 50–950 ramp
primary
#5D4C8D
secondary
#A4AF85
accent
#C662AC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F