#522154 color
The hex color #522154 is a dark, desaturated magenta.
In the RGB color model it is made of 32.2% red, 12.9% green and 32.9% blue (82, 33, 84).
Its hue angle is 298°, with 44% saturation and 23% lightness. For print, the CMYK equivalent is 2% cyan, 61% magenta, 0% yellow and 67% black.
The closest named color is Purple Velour (#581A57), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.32:1).
#522154 color codes
| HEX | #522154 | |
|---|---|---|
| RGB | rgb(82, 33, 84) | |
| RGB percent | rgb(32.2%, 12.9%, 32.9%) | |
| HSL | hsl(298, 44%, 23%) | |
| HSV / HSB | hsv(298, 61%, 33%) | |
| CMYK | cmyk(2%, 61%, 0%, 67%) | |
| CIE LAB | lab(22.02, 30.94, -20.81) | |
| CIE LCH | lch(22.02, 37.29, 326.07) | |
| CIE XYZ | xyz(5.624, 3.522, 8.769) | |
| Decimal | 5382484 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #522154, 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 #522154 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.32:1 | Pass | Pass | Pass |
| #522154 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.32: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 #522154 looks to people with the most common types of color vision deficiency.
#1b3156Protanopia
no red cones#2b3753Deuteranopia
no green cones#542737Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #522154; }
.text { color: #522154; }
.border { border: 2px solid #522154; }
.transparent { background-color: rgb(82 33 84 / 50%); }
.gradient { background: linear-gradient(to right, #522154, #54213d); }
Similar colors
#581a57Purple Velour#4a2559Wonka Purple#551155Cosmic Explorer#431c53Plunged Into Darkness#4f284bMurasaki#441144Velvet Cosmos#48295bAcai#552367Elegant Purple Gown
Closest common color name: Byzantium.
Questions
- What color is #522154?
- #522154 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 #522154?
- The RGB value is 82, 33, 84: 82 red, 33 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #522154?
- The complementary color is #235421, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #522154?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.32:1. WCAG asks for at least 4.5:1 for normal text.