#940BB4

#940bb4 ≈ Dark Violet

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#940bb4 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 58.04% red, 4.31% green and 70.59% blue; printed in CMYK it uses 17.78% cyan, 93.89% magenta, 0% yellow and 29.41% black. Its hue angle is 288.64°, with 88.48% saturation and 37.45% lightness in HSL. It sits between warm and cool, and is 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.08:1 (WCAG AAA). The closest named color is Dark Violet (#9400d3), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #940bb4 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.0983

Readable text 7.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #754587 ≈ 0.001% of males
Protanopia #0051b8 ≈ 1.01% of males
Deuteranopia #155cb1 ≈ 1.27% of males
Tritanopia #933d69 ≈ 0.0001% of males
Protanomaly #553fb6 ≈ 1.08% of males
Deuteranomaly #6248b2 ≈ 4.63% of males
Tritanomaly #93308d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-940bb4 {
  color: #940bb4;
}
Background
.bg-940bb4 {
  background-color: #940bb4;
  color: #ffffff;
}
Border
.border-940bb4 {
  border: 2px solid #940bb4;
}
CSS variables
:root {
  --color-primary: #940bb4;
  --color-primary-rgb: 148 11 180;
  --color-primary-hsl: 289 88% 37%;
}
Gradient
.gradient-940bb4 {
  background: linear-gradient(135deg, #940bb4, #b40b7f);
}
Colored shadow
.shadow-940bb4 {
  box-shadow: 0 8px 24px rgb(148 11 180 / 0.35);
}

Dark Violet
#940bb4  rgb(148, 11, 180)  hsl(289, 88%, 37%)  Dark Violet
#2bb40b  rgb(43, 180, 11)  hsl(109, 88%, 37%)  Kelly Green
#b4940b  rgb(180, 148, 11)  hsl(49, 88%, 37%)  Dark Goldenrod
#0bb494  rgb(11, 180, 148)  hsl(169, 88%, 37%)  Jungle Green