#5D3FB2#5D3FB2
#5D3FB2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.173 H 290.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FB2 |
|---|---|
| RGB | rgb(93, 63, 178) |
| HSL | hsl(256, 48%, 47%) |
| HSV | hsv(256, 65%, 70%) |
| CMYK | cmyk(47.8%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.17, 41.22, -56.92) |
| CIE-LCH | lch(36.17, 70.28, 305.92°) |
| OKLab | oklab(46.74% 0.0594 -0.1629) |
| OKLCH | oklch(46.74% 0.173 290) |
| XYZ | xyz(14.3253, 9.0960, 43.1117) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.74
Bluey Purple
#6241C7
ΔE00 3.16
Blue With A Hint Of Purple
#533CC6
ΔE00 3.36
Blurple
#5539CC
ΔE00 4.04
Rebeccapurple
#663399
ΔE00 5.65
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FB2 #94B23F
analogous
#3F5BB2 #5D3FB2 #973FB2
triadic
#5D3FB2 #B25D3F #3FB25D
tetradic
#5D3FB2 #B23F5B #94B23F #3FB297
square
#5D3FB2 #B23F5B #94B23F #3FB297
split-complementary
#5D3FB2 #B2973F #5BB23F
monochromatic
#2E1F58 #452F85 #5D3FB2 #7F66C9 #A593D9
Accessibility & contrast
On white
7.45
#5D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#5D3FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D3FB2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FB2 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#425A73
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5d3fb2; /* rgb */ color: rgb(93, 63, 178); /* oklch */ color: oklch(46.7% 0.173 290.0);
Tailwind
colors: {
custom: {
50: '#9276ca',
500: '#5d3fb2',
950: '#000000',
},
}SCSS
$custom: #5d3fb2; $custom-light: #9276ca; $custom-dark: #000000;
JSON
{
"hex": "#5d3fb2",
"rgb": {
"r": 93,
"g": 63,
"b": 178
},
"hsl": {
"h": 255.652,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.4674,
"c": 0.17341,
"h": 290
},
"luminance": 0.09097
}Semantic roles & 50–950 ramp
primary
#5D3FB2
secondary
#B5C489
accent
#D750B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82