#540d2e ≈ Tyrian Purple
#540d2e 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, 5.1% green and 18.04% blue; printed in CMYK it uses 0% cyan, 84.52% magenta, 45.24% yellow and 67.06% black. Its hue angle is 332.11°, with 73.2% saturation and 19.02% 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.25:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 4.66.
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.0237 |
Shades
#540d2e mixed progressively with black.
Tints
#540d2e mixed progressively with white.
Tones
#540d2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540d2e {
color: #540d2e;
}
.bg-540d2e {
background-color: #540d2e;
color: #ffffff;
}
.border-540d2e {
border: 2px solid #540d2e;
}
:root {
--color-primary: #540d2e;
--color-primary-rgb: 84 13 46;
--color-primary-hsl: 332 73% 19%;
}
.gradient-540d2e {
background: linear-gradient(135deg, #540d2e, #540f0d);
}
.shadow-540d2e {
box-shadow: 0 8px 24px rgb(84 13 46 / 0.35);
}
Tyrian Purple
#540d2e rgb(84, 13, 46) hsl(332, 73%, 19%) Tyrian Purple
#0d5433 rgb(13, 84, 51) hsl(152, 73%, 19%) British Racing Green
#2e540d rgb(46, 84, 13) hsl(92, 73%, 19%) Lincoln Green
#0d2e54 rgb(13, 46, 84) hsl(212, 73%, 19%) Prussian Blue