#5D47C5#5D47C5
#5D47C5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.187 H 285.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5D47C5 |
|---|---|
| RGB | rgb(93, 71, 197) |
| HSL | hsl(250, 52%, 53%) |
| HSV | hsv(250, 64%, 77%) |
| CMYK | cmyk(52.8%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(39.35, 42.26, -62.90) |
| CIE-LCH | lch(39.35, 75.78, 303.90°) |
| OKLab | oklab(49.51% 0.0494 -0.1805) |
| OKLCH | oklch(49.51% 0.187 285.3) |
| XYZ | xyz(16.8425, 10.8640, 54.0220) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.06
Ocean Blue
#4F42B5
ΔE00 3.37
Blurple
#5539CC
ΔE00 3.60
Iris
#6258C4
ΔE00 4.94
Purpleish Blue
#6140EF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D47C5 #AFC547
analogous
#4770C5 #5D47C5 #9C47C5
triadic
#5D47C5 #C55D47 #47C55D
tetradic
#5D47C5 #C54770 #AFC547 #47C59C
square
#5D47C5 #C54770 #AFC547 #47C59C
split-complementary
#5D47C5 #C59C47 #70C547
monochromatic
#30236F #44329D #5D47C5 #8676D4 #AFA4E2
Accessibility & contrast
On white
6.62
#5D47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#5D47C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D47C5
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D47C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D47C5 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#33667F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5d47c5; /* rgb */ color: rgb(93, 71, 197); /* oklch */ color: oklch(49.5% 0.187 285.3);
Tailwind
colors: {
custom: {
50: '#947bd7',
500: '#5d47c5',
950: '#000000',
},
}SCSS
$custom: #5d47c5; $custom-light: #947bd7; $custom-dark: #000000;
JSON
{
"hex": "#5d47c5",
"rgb": {
"r": 93,
"g": 71,
"b": 197
},
"hsl": {
"h": 250.476,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.49508,
"c": 0.18713,
"h": 285.3
},
"luminance": 0.10865
}Semantic roles & 50–950 ramp
primary
#5D47C5
secondary
#C6CF99
accent
#DC4CC3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0915
muted
#7E7B83