#5A4BC0#5A4BC0
#5A4BC0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.176 H 283.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4BC0 |
|---|---|
| RGB | rgb(90, 75, 192) |
| HSL | hsl(248, 48%, 52%) |
| HSV | hsv(248, 61%, 75%) |
| CMYK | cmyk(53.1%, 60.9%, 0%, 24.7%) |
| CIE-LAB | lab(39.60, 37.83, -59.59) |
| CIE-LCH | lch(39.60, 70.58, 302.40°) |
| OKLab | oklab(49.51% 0.0418 -0.1709) |
| OKLCH | oklch(49.51% 0.176 283.7) |
| XYZ | xyz(16.2441, 11.0107, 51.1283) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.21
Ocean Blue
#4F42B5
ΔE00 3.26
Iris
#6258C4
ΔE00 3.98
Blue With A Hint Of Purple
#533CC6
ΔE00 4.05
Blurple
#5539CC
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4BC0 #B1C04B
analogous
#4B77C0 #5A4BC0 #944BC0
triadic
#5A4BC0 #C05A4B #4BC05A
tetradic
#5A4BC0 #C04B77 #B1C04B #4BC094
square
#5A4BC0 #C04B77 #B1C04B #4BC094
split-complementary
#5A4BC0 #C0944B #77C04B
monochromatic
#2E256B #423598 #5A4BC0 #8478D0 #ADA6E0
Accessibility & contrast
On white
6.56
#5A4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#5A4BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4BC0
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4BC0 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#2F677E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5a4bc0; /* rgb */ color: rgb(90, 75, 192); /* oklch */ color: oklch(49.5% 0.176 283.7);
Tailwind
colors: {
custom: {
50: '#917ed4',
500: '#5a4bc0',
950: '#000000',
},
}SCSS
$custom: #5a4bc0; $custom-light: #917ed4; $custom-dark: #000000;
JSON
{
"hex": "#5a4bc0",
"rgb": {
"r": 90,
"g": 75,
"b": 192
},
"hsl": {
"h": 247.692,
"s": 48.148,
"l": 52.353
},
"oklch": {
"l": 0.49506,
"c": 0.1759,
"h": 283.7
},
"luminance": 0.11012
}Semantic roles & 50–950 ramp
primary
#5A4BC0
secondary
#C6CD9A
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83