#5A4AE1#5A4AE1
#5A4AE1 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.219 H 280.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4AE1 |
|---|---|
| RGB | rgb(90, 74, 225) |
| HSL | hsl(246, 72%, 59%) |
| HSV | hsv(246, 67%, 88%) |
| CMYK | cmyk(60%, 67.1%, 0%, 11.8%) |
| CIE-LAB | lab(42.01, 48.60, -74.68) |
| CIE-LCH | lch(42.01, 89.10, 303.05°) |
| OKLab | oklab(52.07% 0.0395 -0.2152) |
| OKLCH | oklch(52.07% 0.219 280.4) |
| XYZ | xyz(20.2515, 12.5060, 72.5663) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.81
Bluish Purple
#703BE7
ΔE00 4.41
Bluey Purple
#6241C7
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 4.52
Purpley Blue
#5F34E7
ΔE00 4.70
Burple
#6832E3
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4AE1 #D1E14A
analogous
#4A85E1 #5A4AE1 #A54AE1
triadic
#5A4AE1 #E15A4A #4AE15A
tetradic
#5A4AE1 #E14A85 #D1E14A #4AE1A5
square
#5A4AE1 #E14A85 #D1E14A #4AE1A5
split-complementary
#5A4AE1 #E1A54A #85E14A
monochromatic
#271997 #3422CC #5A4AE1 #8A7EEA #BAB3F2
Accessibility & contrast
On white
6.00
#5A4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5A4AE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4AE1
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4AE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4AE1 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5a4ae1; /* rgb */ color: rgb(90, 74, 225); /* oklch */ color: oklch(52.1% 0.219 280.4);
Tailwind
colors: {
custom: {
50: '#967eec',
500: '#5a4ae1',
950: '#000000',
},
}SCSS
$custom: #5a4ae1; $custom-light: #967eec; $custom-dark: #000000;
JSON
{
"hex": "#5a4ae1",
"rgb": {
"r": 90,
"g": 74,
"b": 225
},
"hsl": {
"h": 246.358,
"s": 71.564,
"l": 58.627
},
"oklch": {
"l": 0.52074,
"c": 0.21876,
"h": 280.4
},
"luminance": 0.12507
}Semantic roles & 50–950 ramp
primary
#5A4AE1
secondary
#DBE1A6
accent
#EE39DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84