#5A4C61 color
The hex color #5A4C61 is a dark, grayish magenta.
In the RGB color model it is made of 35.3% red, 29.8% green and 38% blue (90, 76, 97).
Its hue angle is 280°, with 12% saturation and 34% lightness. For print, the CMYK equivalent is 7% cyan, 22% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.95:1).
#5A4C61 color codes
| HEX | #5A4C61 | |
|---|---|---|
| RGB | rgb(90, 76, 97) | |
| RGB percent | rgb(35.3%, 29.8%, 38%) | |
| HSL | hsl(280, 12%, 34%) | |
| HSV / HSB | hsv(280, 22%, 38%) | |
| CMYK | cmyk(7%, 22%, 0%, 62%) | |
| CIE LAB | lab(34.41, 10.27, -10.08) | |
| CIE LCH | lch(34.41, 14.39, 315.52) | |
| CIE XYZ | xyz(8.958, 8.206, 12.419) | |
| Decimal | 5917793 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4C61, 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 #5A4C61 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.95:1 | Pass | Pass | Pass |
| #5A4C61 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.95:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #5A4C61 looks to people with the most common types of color vision deficiency.
#495062Protanopia
no red cones#4c5160Deuteranopia
no green cones#5a4e53Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #5a4c61; }
.text { color: #5a4c61; }
.border { border: 2px solid #5a4c61; }
.transparent { background-color: rgb(90 76 97 / 50%); }
.gradient { background: linear-gradient(to right, #5a4c61, #614c5e); }
Similar colors
#544563Nightly Walk#4f4554Black Magic#625665Fedora#565266Freefall#675a75Plummy#61496eYour Majesty#57446aHaunted Candelabra#6f5166Hibernation
Closest common color name: Eggplant.
Questions
- What color is #5A4C61?
- #5A4C61 is a dark, grayish magenta, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #5A4C61?
- The RGB value is 90, 76, 97: 90 red, 76 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5A4C61?
- The complementary color is #53614C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4C61?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.95:1. WCAG asks for at least 4.5:1 for normal text.