#5f254c ≈ Byzantium
#5f254c is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 37.25% red, 14.51% green and 29.8% blue; printed in CMYK it uses 0% cyan, 61.05% magenta, 20% yellow and 62.75% black. Its hue angle is 319.66°, with 43.94% saturation and 25.88% 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.32:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 5.52.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0428 |
Shades
#5f254c mixed progressively with black.
Tints
#5f254c mixed progressively with white.
Tones
#5f254c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f254c {
color: #5f254c;
}
.bg-5f254c {
background-color: #5f254c;
color: #ffffff;
}
.border-5f254c {
border: 2px solid #5f254c;
}
:root {
--color-primary: #5f254c;
--color-primary-rgb: 95 37 76;
--color-primary-hsl: 320 44% 26%;
}
.gradient-5f254c {
background: linear-gradient(135deg, #5f254c, #5f252f);
}
.shadow-5f254c {
box-shadow: 0 8px 24px rgb(95 37 76 / 0.35);
}
Byzantium
#5f254c rgb(95, 37, 76) hsl(320, 44%, 26%) Byzantium
#255f38 rgb(37, 95, 56) hsl(140, 44%, 26%) Hunter Green
#4c5f25 rgb(76, 95, 37) hsl(80, 44%, 26%) Dark Olive Green
#254c5f rgb(37, 76, 95) hsl(200, 44%, 26%) Charcoal