#5f054a ≈ Tyrian Purple
#5f054a is a color from the magenta family, with very low lightness and moderate saturation. In the RGB model it is made of 37.25% red, 1.96% green and 29.02% blue; printed in CMYK it uses 0% cyan, 94.74% magenta, 22.11% yellow and 62.75% black. Its hue angle is 314°, with 90% saturation and 19.61% 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 13.07:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 5.39.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0304 |
Shades
#5f054a mixed progressively with black.
Tints
#5f054a mixed progressively with white.
Tones
#5f054a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f054a {
color: #5f054a;
}
.bg-5f054a {
background-color: #5f054a;
color: #ffffff;
}
.border-5f054a {
border: 2px solid #5f054a;
}
:root {
--color-primary: #5f054a;
--color-primary-rgb: 95 5 74;
--color-primary-hsl: 314 90% 20%;
}
.gradient-5f054a {
background: linear-gradient(135deg, #5f054a, #5f051d);
}
.shadow-5f054a {
box-shadow: 0 8px 24px rgb(95 5 74 / 0.35);
}
Tyrian Purple
#5f054a rgb(95, 5, 74) hsl(314, 90%, 20%) Tyrian Purple
#055f1a rgb(5, 95, 26) hsl(134, 90%, 20%) Lincoln Green
#4a5f05 rgb(74, 95, 5) hsl(74, 90%, 20%) Dark Olive Green
#054a5f rgb(5, 74, 95) hsl(194, 90%, 20%) Midnight Green