#5A4ABA#5A4ABA
#5A4ABA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.169 H 284.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4ABA |
|---|---|
| RGB | rgb(90, 74, 186) |
| HSL | hsl(249, 45%, 51%) |
| HSV | hsv(249, 60%, 73%) |
| CMYK | cmyk(51.6%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(38.93, 36.57, -57.17) |
| CIE-LCH | lch(38.93, 67.87, 302.61°) |
| OKLab | oklab(48.87% 0.0431 -0.1637) |
| OKLCH | oklch(48.87% 0.169 284.7) |
| XYZ | xyz(15.5255, 10.6156, 47.6758) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.75
Bluey Purple
#6241C7
ΔE00 3.37
Blue With A Hint Of Purple
#533CC6
ΔE00 4.08
Iris
#6258C4
ΔE00 4.44
Blurple
#5539CC
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4ABA #AABA4A
analogous
#4A72BA #5A4ABA #924ABA
triadic
#5A4ABA #BA5A4A #4ABA5A
tetradic
#5A4ABA #BA4A72 #AABA4A #4ABA92
square
#5A4ABA #BA4A72 #AABA4A #4ABA92
split-complementary
#5A4ABA #BA924A #72BA4A
monochromatic
#2F2664 #443790 #5A4ABA #8276CB #ABA3DC
Accessibility & contrast
On white
6.72
#5A4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#5A4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4ABA
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4ABA | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#35647B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5a4aba; /* rgb */ color: rgb(90, 74, 186); /* oklch */ color: oklch(48.9% 0.169 284.7);
Tailwind
colors: {
custom: {
50: '#907dd0',
500: '#5a4aba',
950: '#000000',
},
}SCSS
$custom: #5a4aba; $custom-light: #907dd0; $custom-dark: #000000;
JSON
{
"hex": "#5a4aba",
"rgb": {
"r": 90,
"g": 74,
"b": 186
},
"hsl": {
"h": 248.571,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.48872,
"c": 0.16933,
"h": 284.7
},
"luminance": 0.10616
}Semantic roles & 50–950 ramp
primary
#5A4ABA
secondary
#C2C997
accent
#D553C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82