#31042b ≈ Tyrian Purple
#31042b is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 1.57% green and 16.86% blue; printed in CMYK it uses 0% cyan, 91.84% magenta, 12.24% yellow and 80.78% black. Its hue angle is 308°, with 84.91% saturation and 10.39% 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 17.75:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 11.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0091 |
Shades
#31042b mixed progressively with black.
Tints
#31042b mixed progressively with white.
Tones
#31042b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31042b {
color: #31042b;
}
.bg-31042b {
background-color: #31042b;
color: #ffffff;
}
.border-31042b {
border: 2px solid #31042b;
}
:root {
--color-primary: #31042b;
--color-primary-rgb: 49 4 43;
--color-primary-hsl: 308 85% 10%;
}
.gradient-31042b {
background: linear-gradient(135deg, #31042b, #310414);
}
.shadow-31042b {
box-shadow: 0 8px 24px rgb(49 4 43 / 0.35);
}
Tyrian Purple
#31042b rgb(49, 4, 43) hsl(308, 85%, 10%) Tyrian Purple
#04310a rgb(4, 49, 10) hsl(128, 85%, 10%) British Racing Green
#2b3104 rgb(43, 49, 4) hsl(68, 85%, 10%) Army Green
#042b31 rgb(4, 43, 49) hsl(188, 85%, 10%) Gunmetal