#A40FB4

#a40fb4 ≈ Dark Orchid

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

#a40fb4 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 64.31% red, 5.88% green and 70.59% blue; printed in CMYK it uses 8.89% cyan, 91.67% magenta, 0% yellow and 29.41% black. Its hue angle is 294.18°, with 84.62% saturation and 38.24% 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 6.35:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 5.46.

Description generated from the measured properties of this color.

Conversions of #a40fb4 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.1153

Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #804b89 ≈ 0.001% of males
Protanopia #0055b8 ≈ 1.01% of males
Deuteranopia #3665b1 ≈ 1.27% of males
Tritanopia #a73a6a ≈ 0.0001% of males
Protanomaly #6543b6 ≈ 1.08% of males
Deuteranomaly #7350b2 ≈ 4.63% of males
Tritanomaly #a62e8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a40fb4 {
  color: #a40fb4;
}
Background
.bg-a40fb4 {
  background-color: #a40fb4;
  color: #ffffff;
}
Border
.border-a40fb4 {
  border: 2px solid #a40fb4;
}
CSS variables
:root {
  --color-primary: #a40fb4;
  --color-primary-rgb: 164 15 180;
  --color-primary-hsl: 294 85% 38%;
}
Gradient
.gradient-a40fb4 {
  background: linear-gradient(135deg, #a40fb4, #b40f72);
}
Colored shadow
.shadow-a40fb4 {
  box-shadow: 0 8px 24px rgb(164 15 180 / 0.35);
}

Dark Orchid
#a40fb4  rgb(164, 15, 180)  hsl(294, 85%, 38%)  Dark Orchid
#1fb40f  rgb(31, 180, 15)  hsl(114, 85%, 38%)  Kelly Green
#b4a40f  rgb(180, 164, 15)  hsl(54, 85%, 38%)  Brass
#0fb4a4  rgb(15, 180, 164)  hsl(174, 85%, 38%)  Light Sea Green