#540D2E

#540d2e ≈ Tyrian Purple

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

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

Conversions of #540d2e 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.0237

Readable text 14.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #3f222c ≈ 0.001% of males
Protanopia #1d222f ≈ 1.01% of males
Deuteranopia #302f2c ≈ 1.27% of males
Tritanopia #5c031c ≈ 0.0001% of males
Protanomaly #3a1b2e ≈ 1.08% of males
Deuteranomaly #41252d ≈ 4.63% of males
Tritanomaly #590724 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540d2e {
  color: #540d2e;
}
Background
.bg-540d2e {
  background-color: #540d2e;
  color: #ffffff;
}
Border
.border-540d2e {
  border: 2px solid #540d2e;
}
CSS variables
:root {
  --color-primary: #540d2e;
  --color-primary-rgb: 84 13 46;
  --color-primary-hsl: 332 73% 19%;
}
Gradient
.gradient-540d2e {
  background: linear-gradient(135deg, #540d2e, #540f0d);
}
Colored shadow
.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