#840366 ≈ Byzantium
#840366 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 51.76% red, 1.18% green and 40% blue; printed in CMYK it uses 0% cyan, 97.73% magenta, 22.73% yellow and 48.24% black. Its hue angle is 313.95°, with 95.56% saturation and 26.47% 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.61:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 5.38.
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.0593 |
Shades
#840366 mixed progressively with black.
Tints
#840366 mixed progressively with white.
Tones
#840366 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840366 {
color: #840366;
}
.bg-840366 {
background-color: #840366;
color: #ffffff;
}
.border-840366 {
border: 2px solid #840366;
}
:root {
--color-primary: #840366;
--color-primary-rgb: 132 3 102;
--color-primary-hsl: 314 96% 26%;
}
.gradient-840366 {
background: linear-gradient(135deg, #840366, #840326);
}
.shadow-840366 {
box-shadow: 0 8px 24px rgb(132 3 102 / 0.35);
}
Byzantium
#840366 rgb(132, 3, 102) hsl(314, 96%, 26%) Byzantium
#038421 rgb(3, 132, 33) hsl(134, 96%, 26%) Green
#668403 rgb(102, 132, 3) hsl(74, 96%, 26%) Avocado
#036684 rgb(3, 102, 132) hsl(194, 96%, 26%) Sea Blue