#5c1f5a ≈ Byzantium
#5c1f5a is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 36.08% red, 12.16% green and 35.29% blue; printed in CMYK it uses 0% cyan, 66.3% magenta, 2.17% yellow and 63.92% black. Its hue angle is 301.97°, with 49.59% saturation and 24.12% 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 11.68:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 4.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0399 |
Shades
#5c1f5a mixed progressively with black.
Tints
#5c1f5a mixed progressively with white.
Tones
#5c1f5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c1f5a {
color: #5c1f5a;
}
.bg-5c1f5a {
background-color: #5c1f5a;
color: #ffffff;
}
.border-5c1f5a {
border: 2px solid #5c1f5a;
}
:root {
--color-primary: #5c1f5a;
--color-primary-rgb: 92 31 90;
--color-primary-hsl: 302 50% 24%;
}
.gradient-5c1f5a {
background: linear-gradient(135deg, #5c1f5a, #5c1f3c);
}
.shadow-5c1f5a {
box-shadow: 0 8px 24px rgb(92 31 90 / 0.35);
}
Byzantium
#5c1f5a rgb(92, 31, 90) hsl(302, 50%, 24%) Byzantium
#1f5c21 rgb(31, 92, 33) hsl(122, 50%, 24%) Lincoln Green
#5a5c1f rgb(90, 92, 31) hsl(62, 50%, 24%) Army Green
#1f5a5c rgb(31, 90, 92) hsl(182, 50%, 24%) Dark Slate Gray