#28042e ≈ Tyrian Purple
#28042e is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 15.69% red, 1.57% green and 18.04% blue; printed in CMYK it uses 13.04% cyan, 91.3% magenta, 0% yellow and 81.96% black. Its hue angle is 291.43°, with 84% saturation and 9.8% 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 18.31:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 14.67.
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.0074 |
Shades
#28042e mixed progressively with black.
Tints
#28042e mixed progressively with white.
Tones
#28042e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28042e {
color: #28042e;
}
.bg-28042e {
background-color: #28042e;
color: #ffffff;
}
.border-28042e {
border: 2px solid #28042e;
}
:root {
--color-primary: #28042e;
--color-primary-rgb: 40 4 46;
--color-primary-hsl: 291 84% 10%;
}
.gradient-28042e {
background: linear-gradient(135deg, #28042e, #2e041f);
}
.shadow-28042e {
box-shadow: 0 8px 24px rgb(40 4 46 / 0.35);
}
Tyrian Purple
#28042e rgb(40, 4, 46) hsl(291, 84%, 10%) Tyrian Purple
#0a2e04 rgb(10, 46, 4) hsl(111, 84%, 10%) British Racing Green
#2e2804 rgb(46, 40, 4) hsl(51, 84%, 10%) Bistre
#042e28 rgb(4, 46, 40) hsl(171, 84%, 10%) Phthalo Green