#a402bc ≈ Dark Violet
#a402bc is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 64.31% red, 0.78% green and 73.73% blue; printed in CMYK it uses 12.77% cyan, 98.94% magenta, 0% yellow and 26.27% black. Its hue angle is 292.26°, with 97.89% saturation and 37.25% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.34:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 4.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1157 |
Shades
#a402bc mixed progressively with black.
Tints
#a402bc mixed progressively with white.
Tones
#a402bc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a402bc {
color: #a402bc;
}
.bg-a402bc {
background-color: #a402bc;
color: #ffffff;
}
.border-a402bc {
border: 2px solid #a402bc;
}
:root {
--color-primary: #a402bc;
--color-primary-rgb: 164 2 188;
--color-primary-hsl: 292 98% 37%;
}
.gradient-a402bc {
background: linear-gradient(135deg, #a402bc, #bc0277);
}
.shadow-a402bc {
box-shadow: 0 8px 24px rgb(164 2 188 / 0.35);
}
Dark Violet
#a402bc rgb(164, 2, 188) hsl(292, 98%, 37%) Dark Violet
#1abc02 rgb(26, 188, 2) hsl(112, 98%, 37%) Kelly Green
#bca402 rgb(188, 164, 2) hsl(52, 98%, 37%) Brass
#02bca4 rgb(2, 188, 164) hsl(172, 98%, 37%) Light Sea Green