#5A3FD0#5A3FD0
#5A3FD0 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.0% C 0.210 H 284.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A3FD0 |
|---|---|
| RGB | rgb(90, 63, 208) |
| HSL | hsl(251, 61%, 53%) |
| HSV | hsv(251, 70%, 82%) |
| CMYK | cmyk(56.7%, 69.7%, 0%, 18.4%) |
| CIE-LAB | lab(38.34, 49.53, -70.94) |
| CIE-LCH | lch(38.34, 86.52, 304.93°) |
| OKLab | oklab(49% 0.0509 -0.2042) |
| OKLCH | oklch(49% 0.21 284) |
| XYZ | xyz(17.3756, 10.2817, 60.7312) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.69
Bluey Purple
#6241C7
ΔE00 1.74
Blue With A Hint Of Purple
#533CC6
ΔE00 1.89
Purpley Blue
#5F34E7
ΔE00 3.36
Burple
#6832E3
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A3FD0 #B5D03F
analogous
#3F6DD0 #5A3FD0 #A23FD0
triadic
#5A3FD0 #D05A3F #3FD05A
tetradic
#5A3FD0 #D03F6D #B5D03F #3FD0A2
square
#5A3FD0 #D03F6D #B5D03F #3FD0A2
split-complementary
#5A3FD0 #D0A23F #6DD03F
monochromatic
#2E1D77 #4129A9 #5A3FD0 #8470DC #AFA1E8
Accessibility & contrast
On white
6.87
#5A3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#5A3FD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A3FD0
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A3FD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A3FD0 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#1C6583
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5a3fd0; /* rgb */ color: rgb(90, 63, 208); /* oklch */ color: oklch(49.0% 0.210 284.0);
Tailwind
colors: {
custom: {
50: '#9576e0',
500: '#5a3fd0',
950: '#000000',
},
}SCSS
$custom: #5a3fd0; $custom-light: #9576e0; $custom-dark: #000000;
JSON
{
"hex": "#5a3fd0",
"rgb": {
"r": 90,
"g": 63,
"b": 208
},
"hsl": {
"h": 251.172,
"s": 60.669,
"l": 53.137
},
"oklch": {
"l": 0.48998,
"c": 0.21043,
"h": 284
},
"luminance": 0.10283
}Semantic roles & 50–950 ramp
primary
#5A3FD0
secondary
#C9D596
accent
#E444C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83