#840CBC

#840cbc ≈ Dark Violet

  • magenta
  • Lightness: low
  • Saturation: strong
  • Cool

#840cbc is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 51.76% red, 4.71% green and 73.73% blue; printed in CMYK it uses 29.79% cyan, 93.62% magenta, 0% yellow and 26.27% black. Its hue angle is 280.91°, with 88% saturation and 39.22% 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.61:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 3.89.

Description generated from the measured properties of this color.

Conversions of #840cbc 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.088

Readable text 7.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #6a428a ≈ 0.001% of males
Protanopia #0050c0 ≈ 1.01% of males
Deuteranopia #0055b9 ≈ 1.27% of males
Tritanopia #7b456e ≈ 0.0001% of males
Protanomaly #423fbe ≈ 1.08% of males
Deuteranomaly #4e43ba ≈ 4.63% of males
Tritanomaly #7f3694 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-840cbc {
  color: #840cbc;
}
Background
.bg-840cbc {
  background-color: #840cbc;
  color: #ffffff;
}
Border
.border-840cbc {
  border: 2px solid #840cbc;
}
CSS variables
:root {
  --color-primary: #840cbc;
  --color-primary-rgb: 132 12 188;
  --color-primary-hsl: 281 88% 39%;
}
Gradient
.gradient-840cbc {
  background: linear-gradient(135deg, #840cbc, #bc0c9c);
}
Colored shadow
.shadow-840cbc {
  box-shadow: 0 8px 24px rgb(132 12 188 / 0.35);
}

Dark Violet
#840cbc  rgb(132, 12, 188)  hsl(281, 88%, 39%)  Dark Violet
#44bc0c  rgb(68, 188, 12)  hsl(101, 88%, 39%)  Kelly Green
#bc840c  rgb(188, 132, 12)  hsl(41, 88%, 39%)  Dark Goldenrod
#0cbc84  rgb(12, 188, 132)  hsl(161, 88%, 39%)  Mint