#5A2262 color
The hex color #5A2262 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 13.3% green and 38.4% blue (90, 34, 98).
Its hue angle is 293°, with 48% saturation and 26% lightness. For print, the CMYK equivalent is 8% cyan, 65% magenta, 0% yellow and 62% black.
The closest named color is Elegant Purple Gown (#552367), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.41:1).
#5A2262 color codes
| HEX | #5A2262 | |
|---|---|---|
| RGB | rgb(90, 34, 98) | |
| RGB percent | rgb(35.3%, 13.3%, 38.4%) | |
| HSL | hsl(293, 48%, 26%) | |
| HSV / HSB | hsv(293, 65%, 38%) | |
| CMYK | cmyk(8%, 65%, 0%, 62%) | |
| CIE LAB | lab(24.32, 35.71, -26.36) | |
| CIE LCH | lch(24.32, 44.38, 323.57) | |
| CIE XYZ | xyz(6.993, 4.2, 11.995) | |
| Decimal | 5907042 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A2262, 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 #5A2262 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.41:1 | Pass | Pass | Pass |
| #5A2262 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.41:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #5A2262 looks to people with the most common types of color vision deficiency.
#153664Protanopia
no red cones#2a3c60Deuteranopia
no green cones#5b2c3eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #5a2262; }
.text { color: #5a2262; }
.border { border: 2px solid #5a2262; }
.transparent { background-color: rgb(90 34 98 / 50%); }
.gradient { background: linear-gradient(to right, #5a2262, #62224a); }
Similar colors
#552367Elegant Purple Gown#581a57Purple Velour#602f6bByzantine Robe#551155Cosmic Explorer#5b3167Imperial Purple#4a2559Wonka Purple#522a6fPurple Seduction#48295bAcai
Closest common color name: Byzantium.
Questions
- What color is #5A2262?
- #5A2262 is a dark, desaturated magenta, closest to the named color Elegant Purple Gown. It belongs to the purple family of colors.
- What is the RGB value of #5A2262?
- The RGB value is 90, 34, 98: 90 red, 34 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5A2262?
- The complementary color is #2A6222, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A2262?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.41:1. WCAG asks for at least 4.5:1 for normal text.