#5D3FD3#5D3FD3
#5D3FD3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.214 H 284.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FD3 |
|---|---|
| RGB | rgb(93, 63, 211) |
| HSL | hsl(252, 63%, 54%) |
| HSV | hsv(252, 70%, 83%) |
| CMYK | cmyk(55.9%, 70.1%, 0%, 17.3%) |
| CIE-LAB | lab(38.87, 50.86, -71.79) |
| CIE-LCH | lch(38.87, 87.98, 305.32°) |
| OKLab | oklab(49.52% 0.0545 -0.2066) |
| OKLCH | oklch(49.52% 0.214 284.8) |
| XYZ | xyz(18.0460, 10.5843, 62.7074) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.79
Blurple
#5539CC
ΔE00 2.11
Blue With A Hint Of Purple
#533CC6
ΔE00 2.46
Purpley Blue
#5F34E7
ΔE00 2.97
Burple
#6832E3
ΔE00 3.25
Purpleish Blue
#6140EF
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FD3 #B5D33F
analogous
#3F6BD3 #5D3FD3 #A73FD3
triadic
#5D3FD3 #D35D3F #3FD35D
tetradic
#5D3FD3 #D33F6B #B5D33F #3FD3A7
square
#5D3FD3 #D33F6B #B5D33F #3FD3A7
split-complementary
#5D3FD3 #D3A73F #6BD33F
monochromatic
#301C7B #4328AD #5D3FD3 #8771DE #B1A3EA
Accessibility & contrast
On white
6.74
#5D3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#5D3FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D3FD3
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FD3 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#236685
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5d3fd3; /* rgb */ color: rgb(93, 63, 211); /* oklch */ color: oklch(49.5% 0.214 284.8);
Tailwind
colors: {
custom: {
50: '#9777e2',
500: '#5d3fd3',
950: '#000000',
},
}SCSS
$custom: #5d3fd3; $custom-light: #9777e2; $custom-dark: #000000;
JSON
{
"hex": "#5d3fd3",
"rgb": {
"r": 93,
"g": 63,
"b": 211
},
"hsl": {
"h": 252.162,
"s": 62.712,
"l": 53.725
},
"oklch": {
"l": 0.4952,
"c": 0.21366,
"h": 284.8
},
"luminance": 0.10585
}Semantic roles & 50–950 ramp
primary
#5D3FD3
secondary
#CAD797
accent
#E642C5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84