#8a158f ≈ Dark Magenta
#8a158f is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 8.24% green and 56.08% blue; printed in CMYK it uses 3.5% cyan, 85.31% magenta, 0% yellow and 43.92% black. Its hue angle is 297.54°, with 74.39% saturation and 32.16% 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.13:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 1.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0792 |
Shades
#8a158f mixed progressively with black.
Tints
#8a158f mixed progressively with white.
Tones
#8a158f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a158f {
color: #8a158f;
}
.bg-8a158f {
background-color: #8a158f;
color: #ffffff;
}
.border-8a158f {
border: 2px solid #8a158f;
}
:root {
--color-primary: #8a158f;
--color-primary-rgb: 138 21 143;
--color-primary-hsl: 298 74% 32%;
}
.gradient-8a158f {
background: linear-gradient(135deg, #8a158f, #8f1557);
}
.shadow-8a158f {
box-shadow: 0 8px 24px rgb(138 21 143 / 0.35);
}
Dark Magenta
#8a158f rgb(138, 21, 143) hsl(298, 74%, 32%) Dark Magenta
#1a8f15 rgb(26, 143, 21) hsl(118, 74%, 32%) Islamic Green
#8f8a15 rgb(143, 138, 21) hsl(58, 74%, 32%) Olive
#158f8a rgb(21, 143, 138) hsl(178, 74%, 32%) Dark Cyan