#870DC4

#870dc4 ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#870dc4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 52.94% red, 5.1% green and 76.86% blue; printed in CMYK it uses 31.12% cyan, 93.37% magenta, 0% yellow and 23.14% black. Its hue angle is 280°, with 87.56% saturation and 40.98% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 7.28:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #870dc4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9900cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0942

Readable text 7.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #6d4490 ≈ 0.001% of males
Protanopia #0053c8 ≈ 1.01% of males
Deuteranopia #0058c1 ≈ 1.27% of males
Tritanopia #7d4973 ≈ 0.0001% of males
Protanomaly #4241c7 ≈ 1.08% of males
Deuteranomaly #4e45c2 ≈ 4.63% of males
Tritanomaly #81399a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-870dc4 {
  color: #870dc4;
}
Background
.bg-870dc4 {
  background-color: #870dc4;
  color: #ffffff;
}
Border
.border-870dc4 {
  border: 2px solid #870dc4;
}
CSS variables
:root {
  --color-primary: #870dc4;
  --color-primary-rgb: 135 13 196;
  --color-primary-hsl: 280 88% 41%;
}
Gradient
.gradient-870dc4 {
  background: linear-gradient(135deg, #870dc4, #c40da5);
}
Colored shadow
.shadow-870dc4 {
  box-shadow: 0 8px 24px rgb(135 13 196 / 0.35);
}

Dark Violet
#870dc4  rgb(135, 13, 196)  hsl(280, 88%, 41%)  Dark Violet
#4ac40d  rgb(74, 196, 13)  hsl(100, 88%, 41%)  Kelly Green
#c4870d  rgb(196, 135, 13)  hsl(40, 88%, 41%)  Dark Goldenrod
#0dc487  rgb(13, 196, 135)  hsl(160, 88%, 41%)  Caribbean Green