#a302e2 ≈ Dark Violet
#a302e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 0.78% green and 88.63% blue; printed in CMYK it uses 27.88% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 283.13°, with 98.25% saturation and 44.71% lightness in HSL. It is a cool color, 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.73:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.42.
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.1332 |
Shades
#a302e2 mixed progressively with black.
Tints
#a302e2 mixed progressively with white.
Tones
#a302e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a302e2 {
color: #a302e2;
}
.bg-a302e2 {
background-color: #a302e2;
color: #ffffff;
}
.border-a302e2 {
border: 2px solid #a302e2;
}
:root {
--color-primary: #a302e2;
--color-primary-rgb: 163 2 226;
--color-primary-hsl: 283 98% 45%;
}
.gradient-a302e2 {
background: linear-gradient(135deg, #a302e2, #e202b1);
}
.shadow-a302e2 {
box-shadow: 0 8px 24px rgb(163 2 226 / 0.35);
}
Dark Violet
#a302e2 rgb(163, 2, 226) hsl(283, 98%, 45%) Dark Violet
#41e202 rgb(65, 226, 2) hsl(103, 98%, 45%) Lime Green
#e2a302 rgb(226, 163, 2) hsl(43, 98%, 45%) Goldenrod
#02e2a3 rgb(2, 226, 163) hsl(163, 98%, 45%) Caribbean Green