#5A4ABE#5A4ABE
#5A4ABE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.175 H 284.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4ABE |
|---|---|
| RGB | rgb(90, 74, 190) |
| HSL | hsl(248, 47%, 52%) |
| HSV | hsv(248, 61%, 75%) |
| CMYK | cmyk(52.6%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(39.22, 37.81, -59.04) |
| CIE-LCH | lch(39.22, 70.10, 302.63°) |
| OKLab | oklab(49.18% 0.0429 -0.1692) |
| OKLCH | oklch(49.18% 0.175 284.2) |
| XYZ | xyz(15.9567, 10.7881, 49.9467) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.93
Bluey Purple
#6241C7
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 3.86
Iris
#6258C4
ΔE00 4.29
Blurple
#5539CC
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4ABE #AEBE4A
analogous
#4A74BE #5A4ABE #944ABE
triadic
#5A4ABE #BE5A4A #4ABE5A
tetradic
#5A4ABE #BE4A74 #AEBE4A #4ABE94
square
#5A4ABE #BE4A74 #AEBE4A #4ABE94
split-complementary
#5A4ABE #BE944A #74BE4A
monochromatic
#2F2568 #433695 #5A4ABE #8377CE #ACA4DE
Accessibility & contrast
On white
6.65
#5A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#5A4ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4ABE
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4ABE | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#31667D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5a4abe; /* rgb */ color: rgb(90, 74, 190); /* oklch */ color: oklch(49.2% 0.175 284.2);
Tailwind
colors: {
custom: {
50: '#917dd2',
500: '#5a4abe',
950: '#000000',
},
}SCSS
$custom: #5a4abe; $custom-light: #917dd2; $custom-dark: #000000;
JSON
{
"hex": "#5a4abe",
"rgb": {
"r": 90,
"g": 74,
"b": 190
},
"hsl": {
"h": 248.276,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.49182,
"c": 0.17459,
"h": 284.2
},
"luminance": 0.10789
}Semantic roles & 50–950 ramp
primary
#5A4ABE
secondary
#C4CB98
accent
#D751C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83