#5A366A color
The hex color #5A366A is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 21.2% green and 41.6% blue (90, 54, 106).
Its hue angle is 282°, with 33% saturation and 31% lightness. For print, the CMYK equivalent is 15% cyan, 49% magenta, 0% yellow and 58% black.
The closest named color is Purple Protégé (#593569), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.68:1).
#5A366A color codes
| HEX | #5A366A | |
|---|---|---|
| RGB | rgb(90, 54, 106) | |
| RGB percent | rgb(35.3%, 21.2%, 41.6%) | |
| HSL | hsl(282, 33%, 31%) | |
| HSV / HSB | hsv(282, 49%, 42%) | |
| CMYK | cmyk(15%, 49%, 0%, 58%) | |
| CIE LAB | lab(29.04, 26.23, -24.09) | |
| CIE LCH | lch(29.04, 35.62, 317.44) | |
| CIE XYZ | xyz(8.137, 5.853, 14.334) | |
| Decimal | 5912170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A366A, 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 #5A366A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.68:1 | Pass | Pass | Pass |
| #5A366A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.68:1 | Pass | Pass | Pass |
| Sample text | 2.17: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 #5A366A looks to people with the most common types of color vision deficiency.
#2c426cProtanopia
no red cones#364569Deuteranopia
no green cones#593e4bTritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #5a366a; }
.text { color: #5a366a; }
.border { border: 2px solid #5a366a; }
.transparent { background-color: rgb(90 54 106 / 50%); }
.gradient { background: linear-gradient(to right, #5a366a, #6a3660); }
Similar colors
#593569Purple Protégé#5b3167Imperial Purple#623b70Heartless#602f6bByzantine Robe#4f325eRoyal Crown#673e6eMajesty#5b365eLong Passionate Night#663366Wineberry
Closest common color name: Byzantium.
Questions
- What color is #5A366A?
- #5A366A is a dark, desaturated magenta, closest to the named color Purple Protégé. It belongs to the purple family of colors.
- What is the RGB value of #5A366A?
- The RGB value is 90, 54, 106: 90 red, 54 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5A366A?
- The complementary color is #466A36, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A366A?
- White text. Black text has a contrast ratio of 2.17:1 and white text 9.68:1. WCAG asks for at least 4.5:1 for normal text.