#5A4CD0#5A4CD0
#5A4CD0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.195 H 281.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CD0 |
|---|---|
| RGB | rgb(90, 76, 208) |
| HSL | hsl(246, 58%, 56%) |
| HSV | hsv(246, 63%, 82%) |
| CMYK | cmyk(56.7%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(41.05, 42.20, -66.51) |
| CIE-LCH | lch(41.05, 78.77, 302.39°) |
| OKLab | oklab(50.95% 0.0397 -0.1912) |
| OKLCH | oklch(50.95% 0.195 281.7) |
| XYZ | xyz(18.1825, 11.8954, 61.0002) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.55
Iris
#6258C4
ΔE00 3.97
Warm Blue
#4B57DB
ΔE00 4.37
Blue With A Hint Of Purple
#533CC6
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.62
Purpleish Blue
#6140EF
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CD0 #C2D04C
analogous
#4C80D0 #5A4CD0 #9C4CD0
triadic
#5A4CD0 #D05A4C #4CD05A
tetradic
#5A4CD0 #D04C80 #C2D04C #4CD09C
square
#5A4CD0 #D04C80 #C2D04C #4CD09C
split-complementary
#5A4CD0 #D09C4C #80D04C
monochromatic
#2C2280 #3C2EB0 #5A4CD0 #877CDD #B3ADE9
Accessibility & contrast
On white
6.21
#5A4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5A4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CD0
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CD0 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#1A6D87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a4cd0; /* rgb */ color: rgb(90, 76, 208); /* oklch */ color: oklch(50.9% 0.195 281.7);
Tailwind
colors: {
custom: {
50: '#947fdf',
500: '#5a4cd0',
950: '#000000',
},
}SCSS
$custom: #5a4cd0; $custom-light: #947fdf; $custom-dark: #000000;
JSON
{
"hex": "#5a4cd0",
"rgb": {
"r": 90,
"g": 76,
"b": 208
},
"hsl": {
"h": 246.364,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.5095,
"c": 0.19528,
"h": 281.7
},
"luminance": 0.11897
}Semantic roles & 50–950 ramp
primary
#5A4CD0
secondary
#D2D7A0
accent
#E246D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83