#a402da ≈ Dark Violet
#a402da is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 64.31% red, 0.78% green and 85.49% blue; printed in CMYK it uses 24.77% cyan, 99.08% magenta, 0% yellow and 14.51% black. Its hue angle is 285°, with 98.18% saturation and 43.14% 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 5.83:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.09.
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.13 |
Shades
#a402da mixed progressively with black.
Tints
#a402da mixed progressively with white.
Tones
#a402da mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a402da {
color: #a402da;
}
.bg-a402da {
background-color: #a402da;
color: #ffffff;
}
.border-a402da {
border: 2px solid #a402da;
}
:root {
--color-primary: #a402da;
--color-primary-rgb: 164 2 218;
--color-primary-hsl: 285 98% 43%;
}
.gradient-a402da {
background: linear-gradient(135deg, #a402da, #da02a4);
}
.shadow-a402da {
box-shadow: 0 8px 24px rgb(164 2 218 / 0.35);
}
Dark Violet
#a402da rgb(164, 2, 218) hsl(285, 98%, 43%) Dark Violet
#38da02 rgb(56, 218, 2) hsl(105, 98%, 43%) Lime Green
#daa402 rgb(218, 164, 2) hsl(45, 98%, 43%) Goldenrod
#02daa4 rgb(2, 218, 164) hsl(165, 98%, 43%) Caribbean Green