#5A4C91 color
The hex color #5A4C91 is a desaturated violet.
In the RGB color model it is made of 35.3% red, 29.8% green and 56.9% blue (90, 76, 145).
Its hue angle is 252°, with 31% saturation and 43% lightness. For print, the CMYK equivalent is 38% cyan, 48% magenta, 0% yellow and 43% black.
The closest named color is Ultrapurple Merge (#654EA3), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.3:1).
#5A4C91 color codes
| HEX | #5A4C91 | |
|---|---|---|
| RGB | rgb(90, 76, 145) | |
| RGB percent | rgb(35.3%, 29.8%, 56.9%) | |
| HSL | hsl(252, 31%, 43%) | |
| HSV / HSB | hsv(252, 48%, 57%) | |
| CMYK | cmyk(38%, 48%, 0%, 43%) | |
| CIE LAB | lab(36.72, 22.97, -36.24) | |
| CIE LCH | lch(36.72, 42.91, 302.37) | |
| CIE XYZ | xyz(11.91, 9.387, 27.967) | |
| Decimal | 5917841 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4C91, 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 #5A4C91 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.88:1 | Fail | Fail | Fail |
| Sample text | 7.3:1 | Pass | Pass | Pass |
| #5A4C91 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.3:1 | Pass | Pass | Pass |
| Sample text | 2.88: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 #5A4C91 looks to people with the most common types of color vision deficiency.
#335894Protanopia
no red cones#35558fDeuteranopia
no green cones#4c5967Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #5a4c91; }
.text { color: #5a4c91; }
.border { border: 2px solid #5a4c91; }
.transparent { background-color: rgb(90 76 145 / 50%); }
.gradient { background: linear-gradient(to right, #5a4c91, #7d4c91); }
Similar colors
#654ea3Ultrapurple Merge#5c5083Freshly Purpleized#4e518bTwilight#604c81Sumptuous Purple#664488Lords of the Night#50507fTangent Periwinkle#6f5698Passion Flower#483d8bDark Slate Blue
Questions
- What color is #5A4C91?
- #5A4C91 is a desaturated violet, closest to the named color Ultrapurple Merge. It belongs to the blue family of colors.
- What is the RGB value of #5A4C91?
- The RGB value is 90, 76, 145: 90 red, 76 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #5A4C91?
- The complementary color is #83914C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4C91?
- White text. Black text has a contrast ratio of 2.88:1 and white text 7.3:1. WCAG asks for at least 4.5:1 for normal text.