#502254 color
The hex color #502254 is a dark, desaturated magenta.
In the RGB color model it is made of 31.4% red, 13.3% green and 32.9% blue (80, 34, 84).
Its hue angle is 295°, with 42% saturation and 23% lightness. For print, the CMYK equivalent is 5% cyan, 60% magenta, 0% yellow and 67% black.
The closest named color is Wonka Purple (#4A2559), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.37:1).
#502254 color codes
| HEX | #502254 | |
|---|---|---|
| RGB | rgb(80, 34, 84) | |
| RGB percent | rgb(31.4%, 13.3%, 32.9%) | |
| HSL | hsl(295, 42%, 23%) | |
| HSV / HSB | hsv(295, 60%, 33%) | |
| CMYK | cmyk(5%, 60%, 0%, 67%) | |
| CIE LAB | lab(21.91, 29.77, -21.02) | |
| CIE LCH | lch(21.91, 36.44, 324.78) | |
| CIE XYZ | xyz(5.48, 3.49, 8.771) | |
| Decimal | 5251668 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #502254, 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 #502254 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.37:1 | Pass | Pass | Pass |
| #502254 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.37:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #502254 looks to people with the most common types of color vision deficiency.
#1b3156Protanopia
no red cones#2a3653Deuteranopia
no green cones#522837Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #502254; }
.text { color: #502254; }
.border { border: 2px solid #502254; }
.transparent { background-color: rgb(80 34 84 / 50%); }
.gradient { background: linear-gradient(to right, #502254, #54223f); }
Similar colors
#4a2559Wonka Purple#581a57Purple Velour#431c53Plunged Into Darkness#48295bAcai#551155Cosmic Explorer#4f284bMurasaki#441144Velvet Cosmos#552367Elegant Purple Gown
Closest common color name: Byzantium.
Questions
- What color is #502254?
- #502254 is a dark, desaturated magenta, closest to the named color Wonka Purple. It belongs to the purple family of colors.
- What is the RGB value of #502254?
- The RGB value is 80, 34, 84: 80 red, 34 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #502254?
- The complementary color is #265422, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #502254?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.37:1. WCAG asks for at least 4.5:1 for normal text.