#5A4BBD#5A4BBD
#5A4BBD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.172 H 284.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BBD |
|---|---|
| RGB | rgb(90, 75, 189) |
| HSL | hsl(248, 46%, 52%) |
| HSV | hsv(248, 60%, 74%) |
| CMYK | cmyk(52.4%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(39.38, 36.90, -58.20) |
| CIE-LCH | lch(39.38, 68.91, 302.37°) |
| OKLab | oklab(49.27% 0.0419 -0.1668) |
| OKLCH | oklch(49.27% 0.172 284.1) |
| XYZ | xyz(15.9151, 10.8791, 49.3955) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.08
Bluey Purple
#6241C7
ΔE00 3.37
Iris
#6258C4
ΔE00 4.06
Blue With A Hint Of Purple
#533CC6
ΔE00 4.17
Blurple
#5539CC
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BBD #AEBD4B
analogous
#4B75BD #5A4BBD #934BBD
triadic
#5A4BBD #BD5A4B #4BBD5A
tetradic
#5A4BBD #BD4B75 #AEBD4B #4BBD93
square
#5A4BBD #BD4B75 #AEBD4B #4BBD93
split-complementary
#5A4BBD #BD934B #75BD4B
monochromatic
#2F2668 #433694 #5A4BBD #8378CD #ACA5DE
Accessibility & contrast
On white
6.61
#5A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#5A4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BBD
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BBD | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#32667D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5a4bbd; /* rgb */ color: rgb(90, 75, 189); /* oklch */ color: oklch(49.3% 0.172 284.1);
Tailwind
colors: {
custom: {
50: '#917ed2',
500: '#5a4bbd',
950: '#000000',
},
}SCSS
$custom: #5a4bbd; $custom-light: #917ed2; $custom-dark: #000000;
JSON
{
"hex": "#5a4bbd",
"rgb": {
"r": 90,
"g": 75,
"b": 189
},
"hsl": {
"h": 247.895,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.49272,
"c": 0.17196,
"h": 284.1
},
"luminance": 0.1088
}Semantic roles & 50–950 ramp
primary
#5A4BBD
secondary
#C4CB99
accent
#D652C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83