#871C8A

#871c8a ≈ Dark Magenta

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#871c8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 52.94% red, 10.98% green and 54.12% blue; printed in CMYK it uses 2.17% cyan, 79.71% magenta, 0% yellow and 45.88% black. Its hue angle is 298.36°, with 66.27% saturation and 32.55% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 8.19:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 1.84.

Description generated from the measured properties of this color.

Conversions of #871c8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#993399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0782

Readable text 8.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #6a406c ≈ 0.001% of males
Protanopia #00468d ≈ 1.01% of males
Deuteranopia #395487 ≈ 1.27% of males
Tritanopia #8b3053 ≈ 0.0001% of males
Protanomaly #573a8c ≈ 1.08% of males
Deuteranomaly #624488 ≈ 4.63% of males
Tritanomaly #89296d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-871c8a {
  color: #871c8a;
}
Background
.bg-871c8a {
  background-color: #871c8a;
  color: #ffffff;
}
Border
.border-871c8a {
  border: 2px solid #871c8a;
}
CSS variables
:root {
  --color-primary: #871c8a;
  --color-primary-rgb: 135 28 138;
  --color-primary-hsl: 298 66% 33%;
}
Gradient
.gradient-871c8a {
  background: linear-gradient(135deg, #871c8a, #8a1c56);
}
Colored shadow
.shadow-871c8a {
  box-shadow: 0 8px 24px rgb(135 28 138 / 0.35);
}

Dark Magenta
#871c8a  rgb(135, 28, 138)  hsl(298, 66%, 33%)  Dark Magenta
#1f8a1c  rgb(31, 138, 28)  hsl(118, 66%, 33%)  Forest Green
#8a871c  rgb(138, 135, 28)  hsl(58, 66%, 33%)  Olive
#1c8a87  rgb(28, 138, 135)  hsl(178, 66%, 33%)  Dark Cyan