#5A2F60 color
The hex color #5A2F60 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 18.4% green and 37.6% blue (90, 47, 96).
Its hue angle is 293°, with 34% saturation and 28% lightness. For print, the CMYK equivalent is 6% cyan, 51% magenta, 0% yellow and 62% black.
The closest named color is Imperial Purple (#5B3167), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.45:1).
#5A2F60 color codes
| HEX | #5A2F60 | |
|---|---|---|
| RGB | rgb(90, 47, 96) | |
| RGB percent | rgb(35.3%, 18.4%, 37.6%) | |
| HSL | hsl(293, 34%, 28%) | |
| HSV / HSB | hsv(293, 51%, 38%) | |
| CMYK | cmyk(6%, 51%, 0%, 62%) | |
| CIE LAB | lab(26.88, 28.13, -21.02) | |
| CIE LCH | lch(26.88, 35.12, 323.23) | |
| CIE XYZ | xyz(7.344, 5.052, 11.652) | |
| Decimal | 5910368 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A2F60, 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 #5A2F60 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.45:1 | Pass | Pass | Pass |
| #5A2F60 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.45:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #5A2F60 looks to people with the most common types of color vision deficiency.
#283c62Protanopia
no red cones#35415fDeuteranopia
no green cones#5b3543Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #5a2f60; }
.text { color: #5a2f60; }
.border { border: 2px solid #5a2f60; }
.transparent { background-color: rgb(90 47 96 / 50%); }
.gradient { background: linear-gradient(to right, #5a2f60, #602f4d); }
Similar colors
#5b3167Imperial Purple#593569Purple Protégé#602f6bByzantine Robe#663366Wineberry#5b365eLong Passionate Night#4f325eRoyal Crown#673362Opulent Purple#653b66Wine Tour
Closest common color name: Byzantium.
Questions
- What color is #5A2F60?
- #5A2F60 is a dark, desaturated magenta, closest to the named color Imperial Purple. It belongs to the purple family of colors.
- What is the RGB value of #5A2F60?
- The RGB value is 90, 47, 96: 90 red, 47 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #5A2F60?
- The complementary color is #35602F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A2F60?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.45:1. WCAG asks for at least 4.5:1 for normal text.