#540b2c ≈ Tyrian Purple
#540b2c is a color from the rose family, with very low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 4.31% green and 17.25% blue; printed in CMYK it uses 0% cyan, 86.9% magenta, 47.62% yellow and 67.06% black. Its hue angle is 332.88°, with 76.84% saturation and 18.63% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 14.37:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 4.94.
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.0231 |
Shades
#540b2c mixed progressively with black.
Tints
#540b2c mixed progressively with white.
Tones
#540b2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540b2c {
color: #540b2c;
}
.bg-540b2c {
background-color: #540b2c;
color: #ffffff;
}
.border-540b2c {
border: 2px solid #540b2c;
}
:root {
--color-primary: #540b2c;
--color-primary-rgb: 84 11 44;
--color-primary-hsl: 333 77% 19%;
}
.gradient-540b2c {
background: linear-gradient(135deg, #540b2c, #540f0b);
}
.shadow-540b2c {
box-shadow: 0 8px 24px rgb(84 11 44 / 0.35);
}
Tyrian Purple
#540b2c rgb(84, 11, 44) hsl(333, 77%, 19%) Tyrian Purple
#0b5433 rgb(11, 84, 51) hsl(153, 77%, 19%) British Racing Green
#2c540b rgb(44, 84, 11) hsl(93, 77%, 19%) Lincoln Green
#0b2c54 rgb(11, 44, 84) hsl(213, 77%, 19%) Oxford Blue