#5A3961 color
The hex color #5A3961 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 22.4% green and 38% blue (90, 57, 97).
Its hue angle is 290°, with 26% saturation and 30% lightness. For print, the CMYK equivalent is 7% cyan, 41% magenta, 0% yellow and 62% black.
The closest named color is Long Passionate Night (#5B365E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.58:1).
#5A3961 color codes
| HEX | #5A3961 | |
|---|---|---|
| RGB | rgb(90, 57, 97) | |
| RGB percent | rgb(35.3%, 22.4%, 38%) | |
| HSL | hsl(290, 26%, 30%) | |
| HSV / HSB | hsv(290, 41%, 38%) | |
| CMYK | cmyk(7%, 41%, 0%, 62%) | |
| CIE LAB | lab(29.32, 22.28, -17.87) | |
| CIE LCH | lch(29.32, 28.56, 321.27) | |
| CIE XYZ | xyz(7.837, 5.963, 12.045) | |
| Decimal | 5912929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3961, 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 #5A3961 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.19:1 | Fail | Fail | Fail |
| Sample text | 9.58:1 | Pass | Pass | Pass |
| #5A3961 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.58:1 | Pass | Pass | Pass |
| Sample text | 2.19: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 #5A3961 looks to people with the most common types of color vision deficiency.
#344362Protanopia
no red cones#3c4660Deuteranopia
no green cones#5b3e48Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3961; }
.text { color: #5a3961; }
.border { border: 2px solid #5a3961; }
.transparent { background-color: rgb(90 57 97 / 50%); }
.gradient { background: linear-gradient(to right, #5a3961, #613954); }
Similar colors
#5b365eLong Passionate Night#653b66Wine Tour#543254Purple Prose#4f325eRoyal Crown#593569Purple Protégé#673e6eMajesty#623b70Heartless#5b3167Imperial Purple
Closest common color name: Byzantium.
Questions
- What color is #5A3961?
- #5A3961 is a dark, desaturated magenta, closest to the named color Long Passionate Night. It belongs to the purple family of colors.
- What is the RGB value of #5A3961?
- The RGB value is 90, 57, 97: 90 red, 57 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5A3961?
- The complementary color is #406139, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3961?
- White text. Black text has a contrast ratio of 2.19:1 and white text 9.58:1. WCAG asks for at least 4.5:1 for normal text.