#51175b ≈ Byzantium
#51175b is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 9.02% green and 35.69% blue; printed in CMYK it uses 10.99% cyan, 74.73% magenta, 0% yellow and 64.31% black. Its hue angle is 291.18°, with 59.65% saturation and 22.35% 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 12.94:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 7.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0312 |
Shades
#51175b mixed progressively with black.
Tints
#51175b mixed progressively with white.
Tones
#51175b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-51175b {
color: #51175b;
}
.bg-51175b {
background-color: #51175b;
color: #ffffff;
}
.border-51175b {
border: 2px solid #51175b;
}
:root {
--color-primary: #51175b;
--color-primary-rgb: 81 23 91;
--color-primary-hsl: 291 60% 22%;
}
.gradient-51175b {
background: linear-gradient(135deg, #51175b, #5b1743);
}
.shadow-51175b {
box-shadow: 0 8px 24px rgb(81 23 91 / 0.35);
}
Byzantium
#51175b rgb(81, 23, 91) hsl(291, 60%, 22%) Byzantium
#215b17 rgb(33, 91, 23) hsl(111, 60%, 22%) Lincoln Green
#5b5117 rgb(91, 81, 23) hsl(51, 60%, 22%) Field Drab
#175b51 rgb(23, 91, 81) hsl(171, 60%, 22%) Dark Slate Gray