#5A3563 color
The hex color #5A3563 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 20.8% green and 38.8% blue (90, 53, 99).
Its hue angle is 288°, with 30% saturation and 30% lightness. For print, the CMYK equivalent is 9% cyan, 46% magenta, 0% yellow and 61% black.
The closest named color is Long Passionate Night (#5B365E), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.89:1).
#5A3563 color codes
| HEX | #5A3563 | |
|---|---|---|
| RGB | rgb(90, 53, 99) | |
| RGB percent | rgb(35.3%, 20.8%, 38.8%) | |
| HSL | hsl(288, 30%, 30%) | |
| HSV / HSB | hsv(288, 46%, 39%) | |
| CMYK | cmyk(9%, 46%, 0%, 61%) | |
| CIE LAB | lab(28.44, 25.2, -20.54) | |
| CIE LCH | lch(28.44, 32.51, 320.83) | |
| CIE XYZ | xyz(7.741, 5.621, 12.479) | |
| Decimal | 5911907 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3563, 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 #5A3563 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.12:1 | Fail | Fail | Fail |
| Sample text | 9.89:1 | Pass | Pass | Pass |
| #5A3563 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.89:1 | Pass | Pass | Pass |
| Sample text | 2.12: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 #5A3563 looks to people with the most common types of color vision deficiency.
#2e4165Protanopia
no red cones#384462Deuteranopia
no green cones#5a3b47Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3563; }
.text { color: #5a3563; }
.border { border: 2px solid #5a3563; }
.transparent { background-color: rgb(90 53 99 / 50%); }
.gradient { background: linear-gradient(to right, #5a3563, #633555); }
Similar colors
#5b365eLong Passionate Night#593569Purple Protégé#5b3167Imperial Purple#4f325eRoyal Crown#623b70Heartless#653b66Wine Tour#663366Wineberry#602f6bByzantine Robe
Closest common color name: Byzantium.
Questions
- What color is #5A3563?
- #5A3563 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 #5A3563?
- The RGB value is 90, 53, 99: 90 red, 53 green and 99 blue on a 0 to 255 scale.
- What is the complementary color of #5A3563?
- The complementary color is #3E6335, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3563?
- White text. Black text has a contrast ratio of 2.12:1 and white text 9.89:1. WCAG asks for at least 4.5:1 for normal text.