#5A3A6F color
The hex color #5A3A6F is a dark, desaturated violet.
In the RGB color model it is made of 35.3% red, 22.7% green and 43.5% blue (90, 58, 111).
Its hue angle is 276°, with 31% saturation and 33% lightness. For print, the CMYK equivalent is 19% cyan, 48% magenta, 0% yellow and 56% black.
The closest named color is Purple Protégé (#593569), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.25:1).
#5A3A6F color codes
| HEX | #5A3A6F | |
|---|---|---|
| RGB | rgb(90, 58, 111) | |
| RGB percent | rgb(35.3%, 22.7%, 43.5%) | |
| HSL | hsl(276, 31%, 33%) | |
| HSV / HSB | hsv(276, 48%, 44%) | |
| CMYK | cmyk(19%, 48%, 0%, 56%) | |
| CIE LAB | lab(30.27, 25, -25.34) | |
| CIE LCH | lch(30.27, 35.59, 314.62) | |
| CIE XYZ | xyz(8.598, 6.348, 15.808) | |
| Decimal | 5913199 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3A6F, 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 #5A3A6F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.27:1 | Fail | Fail | Fail |
| Sample text | 9.25:1 | Pass | Pass | Pass |
| #5A3A6F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.25:1 | Pass | Pass | Pass |
| Sample text | 2.27: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 #5A3A6F looks to people with the most common types of color vision deficiency.
#2e4671Protanopia
no red cones#37486eDeuteranopia
no green cones#58424fTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3a6f; }
.text { color: #5a3a6f; }
.border { border: 2px solid #5a3a6f; }
.transparent { background-color: rgb(90 58 111 / 50%); }
.gradient { background: linear-gradient(to right, #5a3a6f, #6f3a6a); }
Similar colors
#593569Purple Protégé#623b70Heartless#5b4276Drifting Violet#5b3167Imperial Purple#673e6eMajesty#5c457bIn the Vines#4f325eRoyal Crown#602f6bByzantine Robe
Closest common color name: Byzantium.
Questions
- What color is #5A3A6F?
- #5A3A6F is a dark, desaturated violet, closest to the named color Purple Protégé. It belongs to the purple family of colors.
- What is the RGB value of #5A3A6F?
- The RGB value is 90, 58, 111: 90 red, 58 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #5A3A6F?
- The complementary color is #4F6F3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3A6F?
- White text. Black text has a contrast ratio of 2.27:1 and white text 9.25:1. WCAG asks for at least 4.5:1 for normal text.