#5A2358 color
The hex color #5A2358 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 13.7% green and 34.5% blue (90, 35, 88).
Its hue angle is 302°, with 44% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 61% magenta, 2% yellow and 65% black.
The closest named color is Purple Velour (#581A57), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.56:1).
#5A2358 color codes
| HEX | #5A2358 | |
|---|---|---|
| RGB | rgb(90, 35, 88) | |
| RGB percent | rgb(35.3%, 13.7%, 34.5%) | |
| HSL | hsl(302, 44%, 25%) | |
| HSV / HSB | hsv(302, 61%, 35%) | |
| CMYK | cmyk(0%, 61%, 2%, 65%) | |
| CIE LAB | lab(23.94, 33.15, -20.38) | |
| CIE LCH | lch(23.94, 38.92, 328.42) | |
| CIE XYZ | xyz(6.579, 4.081, 9.672) | |
| Decimal | 5907288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A2358, 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 #5A2358 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.56:1 | Pass | Pass | Pass |
| #5A2358 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.56:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #5A2358 looks to people with the most common types of color vision deficiency.
#1e345aProtanopia
no red cones#303c56Deuteranopia
no green cones#5d293aTritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #5a2358; }
.text { color: #5a2358; }
.border { border: 2px solid #5a2358; }
.transparent { background-color: rgb(90 35 88 / 50%); }
.gradient { background: linear-gradient(to right, #5a2358, #5a233c); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#4a2559Wonka Purple#5b3167Imperial Purple#602f6bByzantine Robe#6b295aPretty in Prune#663366Wineberry#673362Opulent Purple
Closest common color name: Byzantium.
Questions
- What color is #5A2358?
- #5A2358 is a dark, desaturated magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
- What is the RGB value of #5A2358?
- The RGB value is 90, 35, 88: 90 red, 35 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #5A2358?
- The complementary color is #235A25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A2358?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.56:1. WCAG asks for at least 4.5:1 for normal text.