#a172a8 ≈ Purple Mountain Majesty
#a172a8 is a color from the magenta family, with medium lightness and muted saturation. In the RGB model it is made of 63.14% red, 44.71% green and 65.88% blue; printed in CMYK it uses 4.17% cyan, 32.14% magenta, 0% yellow and 34.12% black. Its hue angle is 292.22°, with 23.68% saturation and 55.29% 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 brand accents. Black text on this color reaches a contrast ratio of 5.49:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2244 |
Shades
#a172a8 mixed progressively with black.
Tints
#a172a8 mixed progressively with white.
Tones
#a172a8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a172a8 {
color: #a172a8;
}
.bg-a172a8 {
background-color: #a172a8;
color: #000000;
}
.border-a172a8 {
border: 2px solid #a172a8;
}
:root {
--color-primary: #a172a8;
--color-primary-rgb: 161 114 168;
--color-primary-hsl: 292 24% 55%;
}
.gradient-a172a8 {
background: linear-gradient(135deg, #a172a8, #a87294);
}
.shadow-a172a8 {
box-shadow: 0 8px 24px rgb(161 114 168 / 0.35);
}
Purple Mountain Majesty
#a172a8 rgb(161, 114, 168) hsl(292, 24%, 55%) Purple Mountain Majesty
#79a872 rgb(121, 168, 114) hsl(112, 24%, 55%) Asparagus
#a8a172 rgb(168, 161, 114) hsl(52, 24%, 55%) Ecru
#72a8a1 rgb(114, 168, 161) hsl(172, 24%, 55%) Cadet Blue