#871285 color
The hex color #871285 is a dark, moderate magenta.
In the RGB color model it is made of 52.9% red, 7.1% green and 52.2% blue (135, 18, 133).
Its hue angle is 301°, with 76% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 87% magenta, 1% yellow and 47% black.
The closest named color is Dark Magenta (#8B008B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.55:1).
#871285 color codes
| HEX | #871285 | |
|---|---|---|
| RGB | rgb(135, 18, 133) | |
| RGB percent | rgb(52.9%, 7.1%, 52.2%) | |
| HSL | hsl(301, 76%, 30%) | |
| HSV / HSB | hsv(301, 87%, 53%) | |
| CMYK | cmyk(0%, 87%, 1%, 47%) | |
| CIE LAB | lab(32.43, 58.05, -35.31) | |
| CIE LCH | lch(32.43, 67.95, 328.69) | |
| CIE XYZ | xyz(14.442, 7.278, 22.83) | |
| Decimal | 8852101 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #871285, 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 #871285 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.55:1 | Pass | Pass | Pass |
| #871285 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.55: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 #871285 looks to people with the most common types of color vision deficiency.
#004388Protanopia
no red cones#395182Deuteranopia
no green cones#8c284eTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #871285; }
.text { color: #871285; }
.border { border: 2px solid #871285; }
.transparent { background-color: rgb(135 18 133 / 50%); }
.gradient { background: linear-gradient(to right, #871285, #87124b); }
Similar colors
#8b008bDark Magenta#802280Hello Darkness My Old Friend#800080Purple#881177Royal Purpleness#871f78Noble Plum#770088Ultraberry#952e8fWarm Purple#853682Purple Sultan
Questions
- What color is #871285?
- #871285 is a dark, moderate magenta, closest to the named color Dark Magenta. It belongs to the purple family of colors.
- What is the RGB value of #871285?
- The RGB value is 135, 18, 133: 135 red, 18 green and 133 blue on a 0 to 255 scale.
- What is the complementary color of #871285?
- The complementary color is #128714, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #871285?
- White text. Black text has a contrast ratio of 2.46:1 and white text 8.55:1. WCAG asks for at least 4.5:1 for normal text.