#940BC2

#940bc2 ≈ Dark Violet

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

#940bc2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 58.04% red, 4.31% green and 76.08% blue; printed in CMYK it uses 23.71% cyan, 94.33% magenta, 0% yellow and 23.92% black. Its hue angle is 284.92°, with 89.27% saturation and 40.2% 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 6.8:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #940bc2 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.1043

Readable text 6.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #764890 ≈ 0.001% of males
Protanopia #0055c6 ≈ 1.01% of males
Deuteranopia #005ebf ≈ 1.27% of males
Tritanopia #8f4572 ≈ 0.0001% of males
Protanomaly #5143c5 ≈ 1.08% of males
Deuteranomaly #5e4ac0 ≈ 4.63% of males
Tritanomaly #913699 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-940bc2 {
  color: #940bc2;
}
Background
.bg-940bc2 {
  background-color: #940bc2;
  color: #ffffff;
}
Border
.border-940bc2 {
  border: 2px solid #940bc2;
}
CSS variables
:root {
  --color-primary: #940bc2;
  --color-primary-rgb: 148 11 194;
  --color-primary-hsl: 285 89% 40%;
}
Gradient
.gradient-940bc2 {
  background: linear-gradient(135deg, #940bc2, #c20b95);
}
Colored shadow
.shadow-940bc2 {
  box-shadow: 0 8px 24px rgb(148 11 194 / 0.35);
}

Dark Violet
#940bc2  rgb(148, 11, 194)  hsl(285, 89%, 40%)  Dark Violet
#39c20b  rgb(57, 194, 11)  hsl(105, 89%, 40%)  Kelly Green
#c2940b  rgb(194, 148, 11)  hsl(45, 89%, 40%)  Dark Goldenrod
#0bc294  rgb(11, 194, 148)  hsl(165, 89%, 40%)  Caribbean Green