#840ABA

#840aba ≈ Dark Violet

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

#840aba is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 51.76% red, 3.92% green and 72.94% blue; printed in CMYK it uses 29.03% cyan, 94.62% magenta, 0% yellow and 27.06% black. Its hue angle is 281.59°, with 89.8% saturation and 38.43% 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.68:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #840aba 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.0867

Readable text 7.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #6a4189 ≈ 0.001% of males
Protanopia #004fbe ≈ 1.01% of males
Deuteranopia #0055b7 ≈ 1.27% of males
Tritanopia #7c446d ≈ 0.0001% of males
Protanomaly #423ebc ≈ 1.08% of males
Deuteranomaly #4f42b8 ≈ 4.63% of males
Tritanomaly #7f3592 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-840aba {
  color: #840aba;
}
Background
.bg-840aba {
  background-color: #840aba;
  color: #ffffff;
}
Border
.border-840aba {
  border: 2px solid #840aba;
}
CSS variables
:root {
  --color-primary: #840aba;
  --color-primary-rgb: 132 10 186;
  --color-primary-hsl: 282 90% 38%;
}
Gradient
.gradient-840aba {
  background: linear-gradient(135deg, #840aba, #ba0a98);
}
Colored shadow
.shadow-840aba {
  box-shadow: 0 8px 24px rgb(132 10 186 / 0.35);
}

Dark Violet
#840aba  rgb(132, 10, 186)  hsl(282, 90%, 38%)  Dark Violet
#40ba0a  rgb(64, 186, 10)  hsl(102, 90%, 38%)  Kelly Green
#ba840a  rgb(186, 132, 10)  hsl(42, 90%, 38%)  Dark Goldenrod
#0aba84  rgb(10, 186, 132)  hsl(162, 90%, 38%)  Mint