#522D8E color
The hex color #522D8E is a dark, moderate violet.
In the RGB color model it is made of 32.2% red, 17.6% green and 55.7% blue (82, 45, 142).
Its hue angle is 263°, with 52% saturation and 37% lightness. For print, the CMYK equivalent is 42% cyan, 68% magenta, 0% yellow and 44% black.
The closest named color is Night Fever (#572E89), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.88:1).
#522D8E color codes
| HEX | #522D8E | |
|---|---|---|
| RGB | rgb(82, 45, 142) | |
| RGB percent | rgb(32.2%, 17.6%, 55.7%) | |
| HSL | hsl(263, 52%, 37%) | |
| HSV / HSB | hsv(263, 68%, 56%) | |
| CMYK | cmyk(42%, 68%, 0%, 44%) | |
| CIE LAB | lab(28.44, 38.84, -47.74) | |
| CIE LCH | lch(28.44, 61.54, 309.13) | |
| CIE XYZ | xyz(9.299, 5.623, 26.181) | |
| Decimal | 5385614 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #522D8E, 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 #522D8E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.12:1 | Fail | Fail | Fail |
| Sample text | 9.88:1 | Pass | Pass | Pass |
| #522D8E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.88:1 | Pass | Pass | Pass |
| Sample text | 2.12: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 #522D8E looks to people with the most common types of color vision deficiency.
#004491Protanopia
no red cones#00428cDeuteranopia
no green cones#434459Tritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #522d8e; }
.text { color: #522d8e; }
.border { border: 2px solid #522d8e; }
.transparent { background-color: rgb(82 45 142 / 50%); }
.gradient { background: linear-gradient(to right, #522d8e, #832d8e); }
Similar colors
#572e89Night Fever#5c2e88Purple Patch#472e97Galactic Purple#573894Ruthless Empress#632f92Lucid Dreams#442288Galactic Civilization#4b1e87Occult#443388Majestic Eggplant
Closest common color name: Rebecca Purple.
Questions
- What color is #522D8E?
- #522D8E is a dark, moderate violet, closest to the named color Night Fever. It belongs to the purple family of colors.
- What is the RGB value of #522D8E?
- The RGB value is 82, 45, 142: 82 red, 45 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #522D8E?
- The complementary color is #698E2D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #522D8E?
- White text. Black text has a contrast ratio of 2.12:1 and white text 9.88:1. WCAG asks for at least 4.5:1 for normal text.