#5A4BC4 color
The hex color #5A4BC4 is a moderate blue.
In the RGB color model it is made of 35.3% red, 29.4% green and 76.9% blue (90, 75, 196).
Its hue angle is 247°, with 51% saturation and 53% lightness. For print, the CMYK equivalent is 54% cyan, 62% magenta, 0% yellow and 23% black.
The closest named color is Royal Nightcore (#533CC6), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.48:1).
#5A4BC4 color codes
| HEX | #5A4BC4 | |
|---|---|---|
| RGB | rgb(90, 75, 196) | |
| RGB percent | rgb(35.3%, 29.4%, 76.9%) | |
| HSL | hsl(247, 51%, 53%) | |
| HSV / HSB | hsv(247, 62%, 77%) | |
| CMYK | cmyk(54%, 62%, 0%, 23%) | |
| CIE LAB | lab(39.9, 39.06, -61.44) | |
| CIE LCH | lch(39.9, 72.8, 302.45) | |
| CIE XYZ | xyz(16.693, 11.19, 53.494) | |
| Decimal | 5917636 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4BC4, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5A4BC4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.48:1 | Pass | Fail | Pass |
| #5A4BC4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.48:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5A4BC4 looks to people with the most common types of color vision deficiency.
#0062c8Protanopia
no red cones#005ac2Deuteranopia
no green cones#2b6880Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #5a4bc4; }
.text { color: #5a4bc4; }
.border { border: 2px solid #5a4bc4; }
.transparent { background-color: rgb(90 75 196 / 50%); }
.gradient { background: linear-gradient(to right, #5a4bc4, #964bc4); }
Similar colors
#533cc6Royal Nightcore#5539ccBlurple#6a5acdSlate Blue#7442c8Purple Rain#4b57dbWarm Blue#6633bbPurple Emperor#5260e1Arcane Brew#024acaFlying Fish Blue
Questions
- What color is #5A4BC4?
- #5A4BC4 is a moderate blue, closest to the named color Royal Nightcore. It belongs to the blue family of colors.
- What is the RGB value of #5A4BC4?
- The RGB value is 90, 75, 196: 90 red, 75 green and 196 blue on a 0 to 255 scale.
- What is the complementary color of #5A4BC4?
- The complementary color is #B5C44B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4BC4?
- White text. Black text has a contrast ratio of 3.24:1 and white text 6.48:1. WCAG asks for at least 4.5:1 for normal text.