#7E158E

#7e158e ≈ Dark Magenta

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#7e158e is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 49.41% red, 8.24% green and 55.69% blue; printed in CMYK it uses 11.27% cyan, 85.21% magenta, 0% yellow and 44.31% black. Its hue angle is 292.07°, with 74.23% saturation and 31.96% 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 corporate identities. White text on this color reaches a contrast ratio of 8.81:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 2.78.

Description generated from the measured properties of this color.

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

Readable text 8.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #633c6c ≈ 0.001% of males
Protanopia #004391 ≈ 1.01% of males
Deuteranopia #284e8b ≈ 1.27% of males
Tritanopia #7f3154 ≈ 0.0001% of males
Protanomaly #4d3690 ≈ 1.08% of males
Deuteranomaly #573e8c ≈ 4.63% of males
Tritanomaly #7f2870 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e158e {
  color: #7e158e;
}
Background
.bg-7e158e {
  background-color: #7e158e;
  color: #ffffff;
}
Border
.border-7e158e {
  border: 2px solid #7e158e;
}
CSS variables
:root {
  --color-primary: #7e158e;
  --color-primary-rgb: 126 21 142;
  --color-primary-hsl: 292 74% 32%;
}
Gradient
.gradient-7e158e {
  background: linear-gradient(135deg, #7e158e, #8e1561);
}
Colored shadow
.shadow-7e158e {
  box-shadow: 0 8px 24px rgb(126 21 142 / 0.35);
}

Dark Magenta
#7e158e  rgb(126, 21, 142)  hsl(292, 74%, 32%)  Dark Magenta
#258e15  rgb(37, 142, 21)  hsl(112, 74%, 32%)  Islamic Green
#8e7e15  rgb(142, 126, 21)  hsl(52, 74%, 32%)  Olive
#158e7e  rgb(21, 142, 126)  hsl(172, 74%, 32%)  Viridian