#5D3DCD#5D3DCD
#5D3DCD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.7% C 0.209 H 285.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3DCD |
|---|---|
| RGB | rgb(93, 61, 205) |
| HSL | hsl(253, 59%, 52%) |
| HSV | hsv(253, 70%, 80%) |
| CMYK | cmyk(54.6%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(37.97, 50.18, -69.80) |
| CIE-LCH | lch(37.97, 85.96, 305.71°) |
| OKLab | oklab(48.72% 0.0573 -0.2008) |
| OKLCH | oklch(48.72% 0.209 285.9) |
| XYZ | xyz(17.1991, 10.0715, 58.7835) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.40
Blurple
#5539CC
ΔE00 1.47
Blue With A Hint Of Purple
#533CC6
ΔE00 1.79
Purpley Blue
#5F34E7
ΔE00 3.41
Burple
#6832E3
ΔE00 3.52
Ocean Blue
#4F42B5
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3DCD #ADCD3D
analogous
#3D65CD #5D3DCD #A53DCD
triadic
#5D3DCD #CD5D3D #3DCD5D
tetradic
#5D3DCD #CD3D65 #ADCD3D #3DCDA5
square
#5D3DCD #CD3D65 #ADCD3D #3DCDA5
split-complementary
#5D3DCD #CDA53D #65CD3D
monochromatic
#301D72 #452AA3 #5D3DCD #866EDA #AE9EE6
Accessibility & contrast
On white
6.97
#5D3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#5D3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D3DCD
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3DCD | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#2C6381
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5d3dcd; /* rgb */ color: rgb(93, 61, 205); /* oklch */ color: oklch(48.7% 0.209 285.9);
Tailwind
colors: {
custom: {
50: '#9675dd',
500: '#5d3dcd',
950: '#000000',
},
}SCSS
$custom: #5d3dcd; $custom-light: #9675dd; $custom-dark: #000000;
JSON
{
"hex": "#5d3dcd",
"rgb": {
"r": 93,
"g": 61,
"b": 205
},
"hsl": {
"h": 253.333,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.48719,
"c": 0.20876,
"h": 285.9
},
"luminance": 0.10072
}Semantic roles & 50–950 ramp
primary
#5D3DCD
secondary
#C4D293
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83