#521E5A color
The hex color #521E5A is a dark, moderate magenta.
In the RGB color model it is made of 32.2% red, 11.8% green and 35.3% blue (82, 30, 90).
Its hue angle is 292°, with 50% saturation and 24% lightness. For print, the CMYK equivalent is 9% cyan, 67% magenta, 0% yellow and 65% black.
The closest named color is Purple Velour (#581A57), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.41:1).
#521E5A color codes
| HEX | #521E5A | |
|---|---|---|
| RGB | rgb(82, 30, 90) | |
| RGB percent | rgb(32.2%, 11.8%, 35.3%) | |
| HSL | hsl(292, 50%, 24%) | |
| HSV / HSB | hsv(292, 67%, 35%) | |
| CMYK | cmyk(9%, 67%, 0%, 65%) | |
| CIE LAB | lab(21.8, 33.79, -25.16) | |
| CIE LCH | lch(21.8, 42.13, 323.32) | |
| CIE XYZ | xyz(5.789, 3.461, 10.034) | |
| Decimal | 5381722 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #521E5A, 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 #521E5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.41:1 | Pass | Pass | Pass |
| #521E5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.41:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #521E5A looks to people with the most common types of color vision deficiency.
#11305cProtanopia
no red cones#253658Deuteranopia
no green cones#532739Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #521e5a; }
.text { color: #521e5a; }
.border { border: 2px solid #521e5a; }
.transparent { background-color: rgb(82 30 90 / 50%); }
.gradient { background: linear-gradient(to right, #521e5a, #5a1e44); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#552367Elegant Purple Gown#4a2559Wonka Purple#431c53Plunged Into Darkness#48295bAcai#550055Cloak and Dagger#480656Clairvoyant
Closest common color name: Byzantium.
Questions
- What color is #521E5A?
- #521E5A is a dark, moderate magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
- What is the RGB value of #521E5A?
- The RGB value is 82, 30, 90: 82 red, 30 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #521E5A?
- The complementary color is #265A1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #521E5A?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.41:1. WCAG asks for at least 4.5:1 for normal text.