#5A2163 color
The hex color #5A2163 is a dark, desaturated magenta.
In the RGB color model it is made of 35.3% red, 12.9% green and 38.8% blue (90, 33, 99).
Its hue angle is 292°, with 50% saturation and 26% lightness. For print, the CMYK equivalent is 9% cyan, 67% magenta, 0% yellow and 61% black.
The closest named color is Elegant Purple Gown (#552367), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.46:1).
#5A2163 color codes
| HEX | #5A2163 | |
|---|---|---|
| RGB | rgb(90, 33, 99) | |
| RGB percent | rgb(35.3%, 12.9%, 38.8%) | |
| HSL | hsl(292, 50%, 26%) | |
| HSV / HSB | hsv(292, 67%, 39%) | |
| CMYK | cmyk(9%, 67%, 0%, 61%) | |
| CIE LAB | lab(24.2, 36.42, -27.2) | |
| CIE LCH | lch(24.2, 45.46, 323.25) | |
| CIE XYZ | xyz(7.012, 4.163, 12.236) | |
| Decimal | 5906787 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A2163, 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 #5A2163 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.46:1 | Pass | Pass | Pass |
| #5A2163 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.46:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #5A2163 looks to people with the most common types of color vision deficiency.
#123565Protanopia
no red cones#293c61Deuteranopia
no green cones#5b2b3eTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #5a2163; }
.text { color: #5a2163; }
.border { border: 2px solid #5a2163; }
.transparent { background-color: rgb(90 33 99 / 50%); }
.gradient { background: linear-gradient(to right, #5a2163, #63214b); }
Similar colors
#552367Elegant Purple Gown#581a57Purple Velour#602f6bByzantine Robe#551155Cosmic Explorer#5b3167Imperial Purple#4a2559Wonka Purple#522a6fPurple Seduction#431c53Plunged Into Darkness
Closest common color name: Byzantium.
Questions
- What color is #5A2163?
- #5A2163 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 #5A2163?
- The RGB value is 90, 33, 99: 90 red, 33 green and 99 blue on a 0 to 255 scale.
- What is the complementary color of #5A2163?
- The complementary color is #2A6321, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A2163?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.46:1. WCAG asks for at least 4.5:1 for normal text.