#940bc2 ≈ Dark Violet
#940bc2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 58.04% red, 4.31% green and 76.08% blue; printed in CMYK it uses 23.71% cyan, 94.33% magenta, 0% yellow and 23.92% black. Its hue angle is 284.92°, with 89.27% saturation and 40.2% 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 6.8:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 2.32.
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.1043 |
Shades
#940bc2 mixed progressively with black.
Tints
#940bc2 mixed progressively with white.
Tones
#940bc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-940bc2 {
color: #940bc2;
}
.bg-940bc2 {
background-color: #940bc2;
color: #ffffff;
}
.border-940bc2 {
border: 2px solid #940bc2;
}
:root {
--color-primary: #940bc2;
--color-primary-rgb: 148 11 194;
--color-primary-hsl: 285 89% 40%;
}
.gradient-940bc2 {
background: linear-gradient(135deg, #940bc2, #c20b95);
}
.shadow-940bc2 {
box-shadow: 0 8px 24px rgb(148 11 194 / 0.35);
}
Dark Violet
#940bc2 rgb(148, 11, 194) hsl(285, 89%, 40%) Dark Violet
#39c20b rgb(57, 194, 11) hsl(105, 89%, 40%) Kelly Green
#c2940b rgb(194, 148, 11) hsl(45, 89%, 40%) Dark Goldenrod
#0bc294 rgb(11, 194, 148) hsl(165, 89%, 40%) Caribbean Green