#5D366F#5D366F
#5D366F is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.6% C 0.102 H 314.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5D366F |
|---|---|
| RGB | rgb(93, 54, 111) |
| HSL | hsl(281, 35%, 32%) |
| HSV | hsv(281, 51%, 44%) |
| CMYK | cmyk(16.2%, 51.4%, 0%, 56.5%) |
| CIE-LAB | lab(29.70, 28.39, -26.22) |
| CIE-LCH | lch(29.70, 38.64, 317.27°) |
| OKLab | oklab(40.57% 0.071 -0.0729) |
| OKLCH | oklch(40.57% 0.102 314.2) |
| XYZ | xyz(8.7021, 6.1134, 15.7574) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Grape
#6C3461
ΔE00 6.57
Darkish Purple
#751973
ΔE00 7.95
Rebeccapurple
#663399
ΔE00 8.62
Bruise
#7E4071
ΔE00 8.66
Grape Purple
#5D1451
ΔE00 9.31
Darkslateblue
#483D8B
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D366F #486F36
analogous
#41366F #5D366F #6F3664
triadic
#5D366F #6F5D36 #366F5D
tetradic
#5D366F #6F4136 #486F36 #36646F
square
#5D366F #6F4136 #486F36 #36646F
split-complementary
#5D366F #646F36 #366F41
monochromatic
#180E1D #3B2246 #5D366F #7F4A98 #9E69B6
Accessibility & contrast
On white
9.45
#5D366F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5D366F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D366F
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D366F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D366F | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#5C3F4D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5d366f; /* rgb */ color: rgb(93, 54, 111); /* oklch */ color: oklch(40.6% 0.102 314.2);
Tailwind
colors: {
custom: {
50: '#8c6e98',
500: '#5d366f',
950: '#000000',
},
}SCSS
$custom: #5d366f; $custom-light: #8c6e98; $custom-dark: #000000;
JSON
{
"hex": "#5d366f",
"rgb": {
"r": 93,
"g": 54,
"b": 111
},
"hsl": {
"h": 281.053,
"s": 34.545,
"l": 32.353
},
"oklch": {
"l": 0.40569,
"c": 0.10178,
"h": 314.2
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#5D366F
secondary
#759F62
accent
#CB5D80
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070E
muted
#7D7A7E