#5A3854 color
The hex color #5A3854 is a dark, grayish magenta.
In the RGB color model it is made of 35.3% red, 22% green and 32.9% blue (90, 56, 84).
Its hue angle is 311°, with 23% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 38% magenta, 7% yellow and 65% black.
The closest named color is Purple Prose (#543254), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.87:1).
#5A3854 color codes
| HEX | #5A3854 | |
|---|---|---|
| RGB | rgb(90, 56, 84) | |
| RGB percent | rgb(35.3%, 22%, 32.9%) | |
| HSL | hsl(311, 23%, 29%) | |
| HSV / HSB | hsv(311, 38%, 35%) | |
| CMYK | cmyk(0%, 38%, 7%, 65%) | |
| CIE LAB | lab(28.49, 20.09, -10.71) | |
| CIE LCH | lch(28.49, 22.77, 331.93) | |
| CIE XYZ | xyz(7.231, 5.642, 9.094) | |
| Decimal | 5912660 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A3854, 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 #5A3854 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.13:1 | Fail | Fail | Fail |
| Sample text | 9.87:1 | Pass | Pass | Pass |
| #5A3854 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.87:1 | Pass | Pass | Pass |
| Sample text | 2.13: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 #5A3854 looks to people with the most common types of color vision deficiency.
#384055Protanopia
no red cones#404553Deuteranopia
no green cones#5d3a42Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #5a3854; }
.text { color: #5a3854; }
.border { border: 2px solid #5a3854; }
.transparent { background-color: rgb(90 56 84 / 50%); }
.gradient { background: linear-gradient(to right, #5a3854, #5a3843); }
Similar colors
#543254Purple Prose#4e334eShadow Purple#654161Royal Plum#64435fGrape Fizz#5b365eLong Passionate Night#614051Eggplant#653b66Wine Tour#4f284bMurasaki
Questions
- What color is #5A3854?
- #5A3854 is a dark, grayish magenta, closest to the named color Purple Prose. It belongs to the purple family of colors.
- What is the RGB value of #5A3854?
- The RGB value is 90, 56, 84: 90 red, 56 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #5A3854?
- The complementary color is #385A3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A3854?
- White text. Black text has a contrast ratio of 2.13:1 and white text 9.87:1. WCAG asks for at least 4.5:1 for normal text.