#940fa2 ≈ Dark Magenta
#940fa2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 58.04% red, 5.88% green and 63.53% blue; printed in CMYK it uses 8.64% cyan, 90.74% magenta, 0% yellow and 36.47% black. Its hue angle is 294.29°, with 83.05% saturation and 34.71% 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 corporate identities. White text on this color reaches a contrast ratio of 7.37:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 4.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0925 |
Shades
#940fa2 mixed progressively with black.
Tints
#940fa2 mixed progressively with white.
Tones
#940fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-940fa2 {
color: #940fa2;
}
.bg-940fa2 {
background-color: #940fa2;
color: #ffffff;
}
.border-940fa2 {
border: 2px solid #940fa2;
}
:root {
--color-primary: #940fa2;
--color-primary-rgb: 148 15 162;
--color-primary-hsl: 294 83% 35%;
}
.gradient-940fa2 {
background: linear-gradient(135deg, #940fa2, #a20f67);
}
.shadow-940fa2 {
box-shadow: 0 8px 24px rgb(148 15 162 / 0.35);
}
Dark Magenta
#940fa2 rgb(148, 15, 162) hsl(294, 83%, 35%) Dark Magenta
#1da20f rgb(29, 162, 15) hsl(114, 83%, 35%) Islamic Green
#a2940f rgb(162, 148, 15) hsl(54, 83%, 35%) Brass
#0fa294 rgb(15, 162, 148) hsl(174, 83%, 35%) Persian Green