#a040af ≈ Purpureus
#a040af is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 62.75% red, 25.1% green and 68.63% blue; printed in CMYK it uses 8.57% cyan, 63.43% magenta, 0% yellow and 31.37% black. Its hue angle is 291.89°, with 46.44% saturation and 46.86% 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. White text on this color reaches a contrast ratio of 5.46:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 2.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1424 |
Shades
#a040af mixed progressively with black.
Tints
#a040af mixed progressively with white.
Tones
#a040af mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a040af {
color: #a040af;
}
.bg-a040af {
background-color: #a040af;
color: #ffffff;
}
.border-a040af {
border: 2px solid #a040af;
}
:root {
--color-primary: #a040af;
--color-primary-rgb: 160 64 175;
--color-primary-hsl: 292 46% 47%;
}
.gradient-a040af {
background: linear-gradient(135deg, #a040af, #af4086);
}
.shadow-a040af {
box-shadow: 0 8px 24px rgb(160 64 175 / 0.35);
}
Purpureus
#a040af rgb(160, 64, 175) hsl(292, 46%, 47%) Purpureus
#4faf40 rgb(79, 175, 64) hsl(112, 46%, 47%) Kelly Green
#afa040 rgb(175, 160, 64) hsl(52, 46%, 47%) Brass
#40afa0 rgb(64, 175, 160) hsl(172, 46%, 47%) Light Sea Green