#871B78 color
The hex color #871B78 is a dark, moderate magenta.
In the RGB color model it is made of 52.9% red, 10.6% green and 47.1% blue (135, 27, 120).
Its hue angle is 308°, with 67% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 80% magenta, 11% yellow and 47% black.
The closest named color is Noble Plum (#871F78), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.54:1).
#871B78 color codes
| HEX | #871B78 | |
|---|---|---|
| RGB | rgb(135, 27, 120) | |
| RGB percent | rgb(52.9%, 10.6%, 47.1%) | |
| HSL | hsl(308, 67%, 32%) | |
| HSV / HSB | hsv(308, 80%, 53%) | |
| CMYK | cmyk(0%, 80%, 11%, 47%) | |
| CIE LAB | lab(32.46, 53.74, -27.11) | |
| CIE LCH | lch(32.46, 60.19, 333.23) | |
| CIE XYZ | xyz(13.774, 7.292, 18.448) | |
| Decimal | 8854392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #871B78, 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 #871B78 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.54:1 | Pass | Pass | Pass |
| #871B78 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.54:1 | Pass | Pass | Pass |
| Sample text | 2.46: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 #871B78 looks to people with the most common types of color vision deficiency.
#19427aProtanopia
no red cones#435276Deuteranopia
no green cones#8e2549Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #871b78; }
.text { color: #871b78; }
.border { border: 2px solid #871b78; }
.transparent { background-color: rgb(135 27 120 / 50%); }
.gradient { background: linear-gradient(to right, #871b78, #871b42); }
Similar colors
#871f78Noble Plum#881177Royal Purpleness#802280Hello Darkness My Old Friend#990077Persian Luxury Purple#991177Haunted Purple#871466Bane of Royalty#800080Purple#881166Possessed Purple
Questions
- What color is #871B78?
- #871B78 is a dark, moderate magenta, closest to the named color Noble Plum. It belongs to the purple family of colors.
- What is the RGB value of #871B78?
- The RGB value is 135, 27, 120: 135 red, 27 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #871B78?
- The complementary color is #1B872A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #871B78?
- White text. Black text has a contrast ratio of 2.46:1 and white text 8.54:1. WCAG asks for at least 4.5:1 for normal text.