#7A2E9E

#7a2e9e ≈ Purple Heart

  • magenta
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7a2e9e is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 18.04% green and 61.96% blue; printed in CMYK it uses 22.78% cyan, 70.89% magenta, 0% yellow and 38.04% black. Its hue angle is 280.71°, with 54.9% saturation and 40% 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 brand accents. White text on this color reaches a contrast ratio of 7.74:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #7a2e9e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0856

Readable text 7.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #654778 ≈ 0.001% of males
Protanopia #004fa1 ≈ 1.01% of males
Deuteranopia #23549c ≈ 1.27% of males
Tritanopia #764663 ≈ 0.0001% of males
Protanomaly #4b44a0 ≈ 1.08% of males
Deuteranomaly #54489d ≈ 4.63% of males
Tritanomaly #783d7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a2e9e {
  color: #7a2e9e;
}
Background
.bg-7a2e9e {
  background-color: #7a2e9e;
  color: #ffffff;
}
Border
.border-7a2e9e {
  border: 2px solid #7a2e9e;
}
CSS variables
:root {
  --color-primary: #7a2e9e;
  --color-primary-rgb: 122 46 158;
  --color-primary-hsl: 281 55% 40%;
}
Gradient
.gradient-7a2e9e {
  background: linear-gradient(135deg, #7a2e9e, #9e2e8a);
}
Colored shadow
.shadow-7a2e9e {
  box-shadow: 0 8px 24px rgb(122 46 158 / 0.35);
}

Purple Heart
#7a2e9e  rgb(122, 46, 158)  hsl(281, 55%, 40%)  Purple Heart
#529e2e  rgb(82, 158, 46)  hsl(101, 55%, 40%)  Islamic Green
#9e7a2e  rgb(158, 122, 46)  hsl(41, 55%, 40%)  Dark Goldenrod
#2e9e7a  rgb(46, 158, 122)  hsl(161, 55%, 40%)  Jungle Green