#5D3FDF#5D3FDF
#5D3FDF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.228 H 283.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FDF |
|---|---|
| RGB | rgb(93, 63, 223) |
| HSL | hsl(251, 71%, 56%) |
| HSV | hsv(251, 72%, 87%) |
| CMYK | cmyk(58.3%, 71.7%, 0%, 12.5%) |
| CIE-LAB | lab(39.93, 54.36, -76.94) |
| CIE-LCH | lch(39.93, 94.21, 305.24°) |
| OKLab | oklab(50.6% 0.0521 -0.2217) |
| OKLCH | oklch(50.6% 0.228 283.2) |
| XYZ | xyz(19.6069, 11.2086, 70.9280) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.16
Purpleish Blue
#6140EF
ΔE00 2.21
Burple
#6832E3
ΔE00 2.76
Bluish Purple
#703BE7
ΔE00 2.91
Bluey Purple
#6241C7
ΔE00 3.18
Blurple
#5539CC
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FDF #C1DF3F
analogous
#3F71DF #5D3FDF #AD3FDF
triadic
#5D3FDF #DF5D3F #3FDF5D
tetradic
#5D3FDF #DF3F71 #C1DF3F #3FDFAD
square
#5D3FDF #DF3F71 #C1DF3F #3FDFAD
split-complementary
#5D3FDF #DFAD3F #71DF3F
monochromatic
#2D178C #3E20C1 #5D3FDF #8973E8 #B6A8F0
Accessibility & contrast
On white
6.48
#5D3FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#5D3FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D3FDF
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FDF | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#066B8B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #5d3fdf; /* rgb */ color: rgb(93, 63, 223); /* oklch */ color: oklch(50.6% 0.228 283.2);
Tailwind
colors: {
custom: {
50: '#9877ea',
500: '#5d3fdf',
950: '#000000',
},
}SCSS
$custom: #5d3fdf; $custom-light: #9877ea; $custom-dark: #000000;
JSON
{
"hex": "#5d3fdf",
"rgb": {
"r": 93,
"g": 63,
"b": 223
},
"hsl": {
"h": 251.25,
"s": 71.429,
"l": 56.078
},
"oklch": {
"l": 0.50595,
"c": 0.22772,
"h": 283.2
},
"luminance": 0.1121
}Semantic roles & 50–950 ramp
primary
#5D3FDF
secondary
#D2DE9C
accent
#EE3ACC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84