#870B87 color
The hex color #870B87 is a dark, vivid magenta.
In the RGB color model it is made of 52.9% red, 4.3% green and 52.9% blue (135, 11, 135).
Its hue angle is 300°, with 85% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 92% magenta, 0% yellow and 47% black.
The closest named color is Dark Magenta (#8B008B), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.65:1).
#870B87 color codes
| HEX | #870B87 | |
|---|---|---|
| RGB | rgb(135, 11, 135) | |
| RGB percent | rgb(52.9%, 4.3%, 52.9%) | |
| HSL | hsl(300, 85%, 29%) | |
| HSV / HSB | hsv(300, 92%, 53%) | |
| CMYK | cmyk(0%, 92%, 0%, 47%) | |
| CIE LAB | lab(32.12, 59.63, -37.05) | |
| CIE LCH | lch(32.12, 70.21, 328.15) | |
| CIE XYZ | xyz(14.484, 7.141, 23.532) | |
| Decimal | 8850311 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #870B87, 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 #870B87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.65:1 | Pass | Pass | Pass |
| #870B87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.65:1 | Pass | Pass | Pass |
| Sample text | 2.43: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 #870B87 looks to people with the most common types of color vision deficiency.
#00428aProtanopia
no red cones#365184Deuteranopia
no green cones#8c274eTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #870b87; }
.text { color: #870b87; }
.border { border: 2px solid #870b87; }
.transparent { background-color: rgb(135 11 135 / 50%); }
.gradient { background: linear-gradient(to right, #870b87, #870b49); }
Similar colors
#8b008bDark Magenta#800080Purple#802280Hello Darkness My Old Friend#881177Royal Purpleness#770088Ultraberry#871f78Noble Plum#772299Orb of Discord#952e8fWarm Purple
Questions
- What color is #870B87?
- #870B87 is a dark, vivid magenta, closest to the named color Dark Magenta. It belongs to the purple family of colors.
- What is the RGB value of #870B87?
- The RGB value is 135, 11, 135: 135 red, 11 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #870B87?
- The complementary color is #0B870B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #870B87?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.65:1. WCAG asks for at least 4.5:1 for normal text.