#840cda ≈ Dark Violet
#840cda is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 51.76% red, 4.71% green and 85.49% blue; printed in CMYK it uses 39.45% cyan, 94.5% magenta, 0% yellow and 14.51% black. Its hue angle is 274.95°, with 89.57% saturation and 45.1% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.89:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 2.78.
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.1023 |
Shades
#840cda mixed progressively with black.
Tints
#840cda mixed progressively with white.
Tones
#840cda mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840cda {
color: #840cda;
}
.bg-840cda {
background-color: #840cda;
color: #ffffff;
}
.border-840cda {
border: 2px solid #840cda;
}
:root {
--color-primary: #840cda;
--color-primary-rgb: 132 12 218;
--color-primary-hsl: 275 90% 45%;
}
.gradient-840cda {
background: linear-gradient(135deg, #840cda, #da0cc9);
}
.shadow-840cda {
box-shadow: 0 8px 24px rgb(132 12 218 / 0.35);
}
Dark Violet
#840cda rgb(132, 12, 218) hsl(275, 90%, 45%) Dark Violet
#62da0c rgb(98, 218, 12) hsl(95, 90%, 45%) Lime Green
#da840c rgb(218, 132, 12) hsl(35, 90%, 45%) Fulvous
#0cda84 rgb(12, 218, 132) hsl(155, 90%, 45%) Emerald