#871387 color
The hex color #871387 is a dark, moderate magenta.
In the RGB color model it is made of 52.9% red, 7.5% green and 52.9% blue (135, 19, 135).
Its hue angle is 300°, with 75% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 86% magenta, 0% yellow and 47% black.
The closest named color is Dark Magenta (#8B008B), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.49:1).
#871387 color codes
| HEX | #871387 | |
|---|---|---|
| RGB | rgb(135, 19, 135) | |
| RGB percent | rgb(52.9%, 7.5%, 52.9%) | |
| HSL | hsl(300, 75%, 30%) | |
| HSV / HSB | hsv(300, 86%, 53%) | |
| CMYK | cmyk(0%, 86%, 0%, 47%) | |
| CIE LAB | lab(32.63, 58.16, -36.25) | |
| CIE LCH | lch(32.63, 68.53, 328.07) | |
| CIE XYZ | xyz(14.598, 7.367, 23.57) | |
| Decimal | 8852359 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #871387, 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 #871387 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.49:1 | Pass | Pass | Pass |
| #871387 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.49:1 | Pass | Pass | Pass |
| Sample text | 2.47: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 #871387 looks to people with the most common types of color vision deficiency.
#00438aProtanopia
no red cones#385284Deuteranopia
no green cones#8c2a50Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #871387; }
.text { color: #871387; }
.border { border: 2px solid #871387; }
.transparent { background-color: rgb(135 19 135 / 50%); }
.gradient { background: linear-gradient(to right, #871387, #87134d); }
Similar colors
#8b008bDark Magenta#802280Hello Darkness My Old Friend#800080Purple#881177Royal Purpleness#871f78Noble Plum#770088Ultraberry#952e8fWarm Purple#772299Orb of Discord
Questions
- What color is #871387?
- #871387 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 #871387?
- The RGB value is 135, 19, 135: 135 red, 19 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #871387?
- The complementary color is #138713, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #871387?
- White text. Black text has a contrast ratio of 2.47:1 and white text 8.49:1. WCAG asks for at least 4.5:1 for normal text.