#5D4C99#5D4C99
#5D4C99 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.2% C 0.121 H 291.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4C99 |
|---|---|
| RGB | rgb(93, 76, 153) |
| HSL | hsl(253, 34%, 45%) |
| HSV | hsv(253, 50%, 60%) |
| CMYK | cmyk(39.2%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(37.47, 26.11, -39.86) |
| CIE-LCH | lch(37.47, 47.65, 303.23°) |
| OKLab | oklab(47.16% 0.0438 -0.1128) |
| OKLCH | oklch(47.16% 0.121 291.2) |
| XYZ | xyz(12.8469, 9.7956, 31.3447) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.19
Blueberry
#464196
ΔE00 5.21
Darkslateblue
#483D8B
ΔE00 5.54
Royal Purple
#7851A9
ΔE00 5.97
Ocean Blue
#4F42B5
ΔE00 6.55
Dusk
#4E5481
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4C99 #88994C
analogous
#4C6199 #5D4C99 #844C99
triadic
#5D4C99 #995D4C #4C995D
tetradic
#5D4C99 #994C61 #88994C #4C9984
square
#5D4C99 #994C61 #88994C #4C9984
split-complementary
#5D4C99 #99844C #61994C
monochromatic
#2B2347 #443870 #5D4C99 #7C6CB6 #A195CA
Accessibility & contrast
On white
7.10
#5D4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5D4C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D4C99
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4C99 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#305797
Tritanopia (blue-blind)
#4D5B6B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d4c99; /* rgb */ color: rgb(93, 76, 153); /* oklch */ color: oklch(47.2% 0.121 291.2);
Tailwind
colors: {
custom: {
50: '#8e7eb7',
500: '#5d4c99',
950: '#000000',
},
}SCSS
$custom: #5d4c99; $custom-light: #8e7eb7; $custom-dark: #000000;
JSON
{
"hex": "#5d4c99",
"rgb": {
"r": 93,
"g": 76,
"b": 153
},
"hsl": {
"h": 253.247,
"s": 33.624,
"l": 44.902
},
"oklch": {
"l": 0.47157,
"c": 0.12097,
"h": 291.2
},
"luminance": 0.09796
}Semantic roles & 50–950 ramp
primary
#5D4C99
secondary
#ADB78A
accent
#CA5EB2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0D0A11
muted
#7D7C80