#5D2C8D#5D2C8D
#5D2C8D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.154 H 303.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2C8D |
|---|---|
| RGB | rgb(93, 44, 141) |
| HSL | hsl(270, 52%, 36%) |
| HSV | hsv(270, 69%, 55%) |
| CMYK | cmyk(34%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(29.54, 41.47, -45.28) |
| CIE-LCH | lch(29.54, 61.40, 312.49°) |
| OKLab | oklab(41.08% 0.0849 -0.1286) |
| OKLCH | oklch(41.08% 0.154 303.4) |
| XYZ | xyz(10.2215, 6.0516, 25.8237) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.71
Purple (survey)
#7E1E9C
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 7.07
Indigo
#4B0082
ΔE00 7.38
Blueberry
#464196
ΔE00 8.44
Royal Purple (survey)
#4B006E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2C8D #5C8D2C
analogous
#2D2C8D #5D2C8D #8D2C8D
triadic
#5D2C8D #8D5D2C #2C8D5D
tetradic
#5D2C8D #8D2D2C #5C8D2C #2C8D8D
square
#5D2C8D #8D2D2C #5C8D2C #2C8D8D
split-complementary
#5D2C8D #8D8D2C #2C8D2D
monochromatic
#1F0F30 #3E1D5E #5D2C8D #7C3BBC #9A65CF
Accessibility & contrast
On white
9.50
#5D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#5D2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2C8D
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2C8D | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#544259
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5d2c8d; /* rgb */ color: rgb(93, 44, 141); /* oklch */ color: oklch(41.1% 0.154 303.4);
Tailwind
colors: {
custom: {
50: '#8f69af',
500: '#5d2c8d',
950: '#000000',
},
}SCSS
$custom: #5d2c8d; $custom-light: #8f69af; $custom-dark: #000000;
JSON
{
"hex": "#5d2c8d",
"rgb": {
"r": 93,
"g": 44,
"b": 141
},
"hsl": {
"h": 270.309,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.41079,
"c": 0.15411,
"h": 303.4
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#5D2C8D
secondary
#8AB560
accent
#DC4C93
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0610
muted
#7E7A7F