#840ea7 ≈ Dark Magenta
#840ea7 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 51.76% red, 5.49% green and 65.49% blue; printed in CMYK it uses 20.96% cyan, 91.62% magenta, 0% yellow and 34.51% black. Its hue angle is 286.27°, with 84.53% saturation and 35.49% 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 8.07:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 5.43.
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.0801 |
Shades
#840ea7 mixed progressively with black.
Tints
#840ea7 mixed progressively with white.
Tones
#840ea7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840ea7 {
color: #840ea7;
}
.bg-840ea7 {
background-color: #840ea7;
color: #ffffff;
}
.border-840ea7 {
border: 2px solid #840ea7;
}
:root {
--color-primary: #840ea7;
--color-primary-rgb: 132 14 167;
--color-primary-hsl: 286 85% 35%;
}
.gradient-840ea7 {
background: linear-gradient(135deg, #840ea7, #a70e7e);
}
.shadow-840ea7 {
box-shadow: 0 8px 24px rgb(132 14 167 / 0.35);
}
Dark Magenta
#840ea7 rgb(132, 14, 167) hsl(286, 85%, 35%) Dark Magenta
#31a70e rgb(49, 167, 14) hsl(106, 85%, 35%) Kelly Green
#a7840e rgb(167, 132, 14) hsl(46, 85%, 35%) Dark Goldenrod
#0ea784 rgb(14, 167, 132) hsl(166, 85%, 35%) Jungle Green