#a940a4 ≈ Purpureus
#a940a4 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 66.27% red, 25.1% green and 64.31% blue; printed in CMYK it uses 0% cyan, 62.13% magenta, 2.96% yellow and 33.73% black. Its hue angle is 302.86°, with 45.06% saturation and 45.69% 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.31:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.51.
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.1478 |
Shades
#a940a4 mixed progressively with black.
Tints
#a940a4 mixed progressively with white.
Tones
#a940a4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a940a4 {
color: #a940a4;
}
.bg-a940a4 {
background-color: #a940a4;
color: #ffffff;
}
.border-a940a4 {
border: 2px solid #a940a4;
}
:root {
--color-primary: #a940a4;
--color-primary-rgb: 169 64 164;
--color-primary-hsl: 303 45% 46%;
}
.gradient-a940a4 {
background: linear-gradient(135deg, #a940a4, #a94070);
}
.shadow-a940a4 {
box-shadow: 0 8px 24px rgb(169 64 164 / 0.35);
}
Purpureus
#a940a4 rgb(169, 64, 164) hsl(303, 45%, 46%) Purpureus
#40a945 rgb(64, 169, 69) hsl(123, 45%, 46%) Medium Sea Green
#a4a940 rgb(164, 169, 64) hsl(63, 45%, 46%) Brass
#40a4a9 rgb(64, 164, 169) hsl(183, 45%, 46%) Cadet Blue