#540B2C

#540b2c ≈ Tyrian Purple

  • rose
  • Lightness: very low
  • Saturation: moderate
  • Warm

#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.

Conversions of #540b2c into other color spaces
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 luminance0.0231

Readable text 14.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #3f212b ≈ 0.001% of males
Protanopia #1c212d ≈ 1.01% of males
Deuteranopia #302f2a ≈ 1.27% of males
Tritanopia #5c001a ≈ 0.0001% of males
Protanomaly #3a1a2c ≈ 1.08% of males
Deuteranomaly #41252b ≈ 4.63% of males
Tritanomaly #590422 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540b2c {
  color: #540b2c;
}
Background
.bg-540b2c {
  background-color: #540b2c;
  color: #ffffff;
}
Border
.border-540b2c {
  border: 2px solid #540b2c;
}
CSS variables
:root {
  --color-primary: #540b2c;
  --color-primary-rgb: 84 11 44;
  --color-primary-hsl: 333 77% 19%;
}
Gradient
.gradient-540b2c {
  background: linear-gradient(135deg, #540b2c, #540f0b);
}
Colored shadow
.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