#540243 ≈ Tyrian Purple
#540243 is a color from the magenta family, with very low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 0.78% green and 26.27% blue; printed in CMYK it uses 0% cyan, 97.62% magenta, 20.24% yellow and 67.06% black. Its hue angle is 312.44°, with 95.35% saturation and 16.86% 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 14.32:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 6.31.
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.0233 |
Shades
#540243 mixed progressively with black.
Tints
#540243 mixed progressively with white.
Tones
#540243 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540243 {
color: #540243;
}
.bg-540243 {
background-color: #540243;
color: #ffffff;
}
.border-540243 {
border: 2px solid #540243;
}
:root {
--color-primary: #540243;
--color-primary-rgb: 84 2 67;
--color-primary-hsl: 312 95% 17%;
}
.gradient-540243 {
background: linear-gradient(135deg, #540243, #54021a);
}
.shadow-540243 {
box-shadow: 0 8px 24px rgb(84 2 67 / 0.35);
}
Tyrian Purple
#540243 rgb(84, 2, 67) hsl(312, 95%, 17%) Tyrian Purple
#025413 rgb(2, 84, 19) hsl(132, 95%, 17%) Lincoln Green
#435402 rgb(67, 84, 2) hsl(72, 95%, 17%) Army Green
#024354 rgb(2, 67, 84) hsl(192, 95%, 17%) Midnight Green