#5D2CAB#5D2CAB
#5D2CAB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.188 H 294.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5D2CAB |
|---|---|
| RGB | rgb(93, 44, 171) |
| HSL | hsl(263, 59%, 42%) |
| HSV | hsv(263, 74%, 67%) |
| CMYK | cmyk(45.6%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(31.96, 49.31, -59.60) |
| CIE-LCH | lch(31.96, 77.35, 309.60°) |
| OKLab | oklab(43.56% 0.0793 -0.1707) |
| OKLCH | oklch(43.56% 0.188 294.9) |
| XYZ | xyz(12.7636, 7.0685, 39.2120) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.04
Purple Blue
#5D21D0
ΔE00 5.01
Violet Blue
#510AC9
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 5.72
Blurple
#5539CC
ΔE00 5.79
Indigo Blue
#3A18B1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D2CAB #7AAB2C
analogous
#2C3AAB #5D2CAB #9D2CAB
triadic
#5D2CAB #AB5D2C #2CAB5D
tetradic
#5D2CAB #AB2C3A #7AAB2C #2CAB9D
square
#5D2CAB #AB2C3A #7AAB2C #2CAB9D
split-complementary
#5D2CAB #AB9D2C #3AAB2C
monochromatic
#28134A #431F7A #5D2CAB #7A45CF #9D76DC
Accessibility & contrast
On white
8.70
#5D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#5D2CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D2CAB
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D2CAB | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#474D69
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #5d2cab; /* rgb */ color: rgb(93, 44, 171); /* oklch */ color: oklch(43.6% 0.188 294.9);
Tailwind
colors: {
custom: {
50: '#926ac5',
500: '#5d2cab',
950: '#000000',
},
}SCSS
$custom: #5d2cab; $custom-light: #926ac5; $custom-dark: #000000;
JSON
{
"hex": "#5d2cab",
"rgb": {
"r": 93,
"g": 44,
"b": 171
},
"hsl": {
"h": 263.15,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.43555,
"c": 0.18826,
"h": 294.9
},
"luminance": 0.07069
}Semantic roles & 50–950 ramp
primary
#5D2CAB
secondary
#A3C36F
accent
#E246A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82