#940ECF

#940ecf ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#940ecf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 58.04% red, 5.49% green and 81.18% blue; printed in CMYK it uses 28.5% cyan, 93.24% magenta, 0% yellow and 18.82% black. Its hue angle is 281.66°, with 87.33% saturation and 43.33% 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.52:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 0.67.

Description generated from the measured properties of this color.

Conversions of #940ecf 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.1111

Readable text 6.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #774a99 ≈ 0.001% of males
Protanopia #0059d4 ≈ 1.01% of males
Deuteranopia #005fcc ≈ 1.27% of males
Tritanopia #8b4c7a ≈ 0.0001% of males
Protanomaly #4c46d2 ≈ 1.08% of males
Deuteranomaly #594bcd ≈ 4.63% of males
Tritanomaly #8f3ca3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-940ecf {
  color: #940ecf;
}
Background
.bg-940ecf {
  background-color: #940ecf;
  color: #ffffff;
}
Border
.border-940ecf {
  border: 2px solid #940ecf;
}
CSS variables
:root {
  --color-primary: #940ecf;
  --color-primary-rgb: 148 14 207;
  --color-primary-hsl: 282 87% 43%;
}
Gradient
.gradient-940ecf {
  background: linear-gradient(135deg, #940ecf, #cf0ea9);
}
Colored shadow
.shadow-940ecf {
  box-shadow: 0 8px 24px rgb(148 14 207 / 0.35);
}

Dark Violet
#940ecf  rgb(148, 14, 207)  hsl(282, 87%, 43%)  Dark Violet
#49cf0e  rgb(73, 207, 14)  hsl(102, 87%, 43%)  Lime Green
#cf940e  rgb(207, 148, 14)  hsl(42, 87%, 43%)  Gamboge
#0ecf94  rgb(14, 207, 148)  hsl(162, 87%, 43%)  Caribbean Green