#940DCF

#940dcf ≈ Dark Violet

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

#940dcf 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.1% green and 81.18% blue; printed in CMYK it uses 28.5% cyan, 93.72% magenta, 0% yellow and 18.82% black. Its hue angle is 281.75°, with 88.18% saturation and 43.14% 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.53:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 0.64.

Description generated from the measured properties of this color.

Conversions of #940dcf 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.1109

Readable text 6.53: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 #774a98 ≈ 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-940dcf {
  color: #940dcf;
}
Background
.bg-940dcf {
  background-color: #940dcf;
  color: #ffffff;
}
Border
.border-940dcf {
  border: 2px solid #940dcf;
}
CSS variables
:root {
  --color-primary: #940dcf;
  --color-primary-rgb: 148 13 207;
  --color-primary-hsl: 282 88% 43%;
}
Gradient
.gradient-940dcf {
  background: linear-gradient(135deg, #940dcf, #cf0da9);
}
Colored shadow
.shadow-940dcf {
  box-shadow: 0 8px 24px rgb(148 13 207 / 0.35);
}

Dark Violet
#940dcf  rgb(148, 13, 207)  hsl(282, 88%, 43%)  Dark Violet
#48cf0d  rgb(72, 207, 13)  hsl(102, 88%, 43%)  Lime Green
#cf940d  rgb(207, 148, 13)  hsl(42, 88%, 43%)  Gamboge
#0dcf94  rgb(13, 207, 148)  hsl(162, 88%, 43%)  Caribbean Green