#840a6b ≈ Purple
#840a6b is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 51.76% red, 3.92% green and 41.96% blue; printed in CMYK it uses 0% cyan, 92.42% magenta, 18.94% yellow and 48.24% black. Its hue angle is 312.3°, with 85.92% saturation and 27.84% 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 luxury branding. White text on this color reaches a contrast ratio of 9.39:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 5.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0618 |
Shades
#840a6b mixed progressively with black.
Tints
#840a6b mixed progressively with white.
Tones
#840a6b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840a6b {
color: #840a6b;
}
.bg-840a6b {
background-color: #840a6b;
color: #ffffff;
}
.border-840a6b {
border: 2px solid #840a6b;
}
:root {
--color-primary: #840a6b;
--color-primary-rgb: 132 10 107;
--color-primary-hsl: 312 86% 28%;
}
.gradient-840a6b {
background: linear-gradient(135deg, #840a6b, #840a2e);
}
.shadow-840a6b {
box-shadow: 0 8px 24px rgb(132 10 107 / 0.35);
}
Purple
#840a6b rgb(132, 10, 107) hsl(312, 86%, 28%) Purple
#0a8423 rgb(10, 132, 35) hsl(132, 86%, 28%) Forest Green
#6b840a rgb(107, 132, 10) hsl(72, 86%, 28%) Olive Drab
#0a6b84 rgb(10, 107, 132) hsl(192, 86%, 28%) Teal Blue