#5A3578 color
The hex color #5A3578 is a dark, desaturated violet.
In the RGB color model it is made of 35.3% red, 20.8% green and 47.1% blue (90, 53, 120).
Its hue angle is 273°, with 39% saturation and 34% lightness. For print, the CMYK equivalent is 25% cyan, 56% magenta, 0% yellow and 53% black.
The closest named color is Kingfisher Daisy (#583580), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.48:1).
#5A3578 color codes
| HEX | #5A3578 | |
|---|---|---|
| RGB | rgb(90, 53, 120) | |
| RGB percent | rgb(35.3%, 20.8%, 47.1%) | |
| HSL | hsl(273, 39%, 34%) | |
| HSV / HSB | hsv(273, 56%, 47%) | |
| CMYK | cmyk(25%, 56%, 0%, 53%) | |
| CIE LAB | lab(29.6, 30.3, -32.09) | |
| CIE LCH | lch(29.6, 44.14, 313.36) | |
| CIE XYZ | xyz(8.879, 6.076, 18.471) | |
| Decimal | 5911928 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3578, 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 #5A3578 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.48:1 | Pass | Pass | Pass |
| #5A3578 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.48:1 | Pass | Pass | Pass |
| Sample text | 2.22:1 | Fail | Fail | Fail |
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 #5A3578 looks to people with the most common types of color vision deficiency.
#20447aProtanopia
no red cones#2c4676Deuteranopia
no green cones#564151Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3578; }
.text { color: #5a3578; }
.border { border: 2px solid #5a3578; }
.transparent { background-color: rgb(90 53 120 / 50%); }
.gradient { background: linear-gradient(to right, #5a3578, #783575); }
Similar colors
#583580Kingfisher Daisy#522a6fPurple Seduction#593569Purple Protégé#4b2c74Mystic Nights#6b327bGalactic Grapevine#602f6bByzantine Robe#5c2e88Purple Patch#623b70Heartless
Closest common color name: Rebecca Purple.
Questions
- What color is #5A3578?
- #5A3578 is a dark, desaturated violet, closest to the named color Kingfisher Daisy. It belongs to the purple family of colors.
- What is the RGB value of #5A3578?
- The RGB value is 90, 53, 120: 90 red, 53 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #5A3578?
- The complementary color is #537835, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3578?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.48:1. WCAG asks for at least 4.5:1 for normal text.