#5A4ABC#5A4ABC
#5A4ABC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.172 H 284.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4ABC |
|---|---|
| RGB | rgb(90, 74, 188) |
| HSL | hsl(248, 46%, 51%) |
| HSV | hsv(248, 61%, 74%) |
| CMYK | cmyk(52.1%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(39.07, 37.19, -58.11) |
| CIE-LCH | lch(39.07, 68.99, 302.62°) |
| OKLab | oklab(49.03% 0.043 -0.1665) |
| OKLCH | oklch(49.03% 0.172 284.5) |
| XYZ | xyz(15.7396, 10.7012, 48.8034) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.82
Bluey Purple
#6241C7
ΔE00 3.21
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Iris
#6258C4
ΔE00 4.36
Blurple
#5539CC
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4ABC #ACBC4A
analogous
#4A73BC #5A4ABC #934ABC
triadic
#5A4ABC #BC5A4A #4ABC5A
tetradic
#5A4ABC #BC4A73 #ACBC4A #4ABC93
square
#5A4ABC #BC4A73 #ACBC4A #4ABC93
split-complementary
#5A4ABC #BC934A #73BC4A
monochromatic
#2F2666 #433693 #5A4ABC #8377CD #ABA3DD
Accessibility & contrast
On white
6.69
#5A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5A4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4ABC
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4ABC | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#33657C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5a4abc; /* rgb */ color: rgb(90, 74, 188); /* oklch */ color: oklch(49.0% 0.172 284.5);
Tailwind
colors: {
custom: {
50: '#917dd1',
500: '#5a4abc',
950: '#000000',
},
}SCSS
$custom: #5a4abc; $custom-light: #917dd1; $custom-dark: #000000;
JSON
{
"hex": "#5a4abc",
"rgb": {
"r": 90,
"g": 74,
"b": 188
},
"hsl": {
"h": 248.421,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.49027,
"c": 0.17197,
"h": 284.5
},
"luminance": 0.10702
}Semantic roles & 50–950 ramp
primary
#5A4ABC
secondary
#C3CA98
accent
#D652C3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82