#5A3CD2#5A3CD2
#5A3CD2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.216 H 284.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5A3CD2 |
|---|---|
| RGB | rgb(90, 60, 210) |
| HSL | hsl(252, 63%, 53%) |
| HSV | hsv(252, 71%, 82%) |
| CMYK | cmyk(57.1%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(37.95, 51.72, -72.74) |
| CIE-LCH | lch(37.95, 89.26, 305.41°) |
| OKLab | oklab(48.77% 0.0529 -0.2095) |
| OKLCH | oklch(48.77% 0.216 284.2) |
| XYZ | xyz(17.4616, 10.0574, 61.9814) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.33
Blue With A Hint Of Purple
#533CC6
ΔE00 1.92
Bluey Purple
#6241C7
ΔE00 2.10
Purpley Blue
#5F34E7
ΔE00 2.87
Burple
#6832E3
ΔE00 3.21
Purpleish Blue
#6140EF
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A3CD2 #B4D23C
analogous
#3C69D2 #5A3CD2 #A53CD2
triadic
#5A3CD2 #D25A3C #3CD25A
tetradic
#5A3CD2 #D23C69 #B4D23C #3CD2A5
square
#5A3CD2 #D23C69 #B4D23C #3CD2A5
split-complementary
#5A3CD2 #D2A53C #69D23C
monochromatic
#2E1C78 #4127AA #5A3CD2 #846EDD #AE9FE9
Accessibility & contrast
On white
6.97
#5A3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#5A3CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A3CD2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A3CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A3CD2 | 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)
#005ED6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#196583
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5a3cd2; /* rgb */ color: rgb(90, 60, 210); /* oklch */ color: oklch(48.8% 0.216 284.2);
Tailwind
colors: {
custom: {
50: '#9575e1',
500: '#5a3cd2',
950: '#000000',
},
}SCSS
$custom: #5a3cd2; $custom-light: #9575e1; $custom-dark: #000000;
JSON
{
"hex": "#5a3cd2",
"rgb": {
"r": 90,
"g": 60,
"b": 210
},
"hsl": {
"h": 252,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.48768,
"c": 0.21604,
"h": 284.2
},
"luminance": 0.10059
}Semantic roles & 50–950 ramp
primary
#5A3CD2
secondary
#C8D594
accent
#E642C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83