#511556 color
The hex color #511556 is a dark, moderate magenta.
In the RGB color model it is made of 31.8% red, 8.2% green and 33.7% blue (81, 21, 86).
Its hue angle is 295°, with 61% saturation and 21% lightness. For print, the CMYK equivalent is 6% cyan, 76% magenta, 0% yellow and 66% black.
The closest named color is Cosmic Explorer (#551155), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.2:1).
#511556 color codes
| HEX | #511556 | |
|---|---|---|
| RGB | rgb(81, 21, 86) | |
| RGB percent | rgb(31.8%, 8.2%, 33.7%) | |
| HSL | hsl(295, 61%, 21%) | |
| HSV / HSB | hsv(295, 76%, 34%) | |
| CMYK | cmyk(6%, 76%, 0%, 66%) | |
| CIE LAB | lab(19.87, 36.88, -25.56) | |
| CIE LCH | lch(19.87, 44.88, 325.27) | |
| CIE XYZ | xyz(5.341, 2.958, 9.092) | |
| Decimal | 5313878 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #511556, 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 #511556 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.2:1 | Pass | Pass | Pass |
| #511556 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.2:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #511556 looks to people with the most common types of color vision deficiency.
#042b58Protanopia
no red cones#213354Deuteranopia
no green cones#532034Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #511556; }
.text { color: #511556; }
.border { border: 2px solid #511556; }
.transparent { background-color: rgb(81 21 86 / 50%); }
.gradient { background: linear-gradient(to right, #511556, #56153a); }
Similar colors
#551155Cosmic Explorer#581a57Purple Velour#550055Cloak and Dagger#480656Clairvoyant#431c53Plunged Into Darkness#441144Velvet Cosmos#552367Elegant Purple Gown#4a2559Wonka Purple
Closest common color name: Byzantium.
Questions
- What color is #511556?
- #511556 is a dark, moderate magenta, closest to the named color Cosmic Explorer. It belongs to the purple family of colors.
- What is the RGB value of #511556?
- The RGB value is 81, 21, 86: 81 red, 21 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #511556?
- The complementary color is #1A5615, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #511556?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.2:1. WCAG asks for at least 4.5:1 for normal text.