#270D2E

#270d2e ≈ Tyrian Purple

  • magenta
  • Lightness: very low
  • Saturation: muted
  • Balanced

#270d2e is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 5.1% green and 18.04% blue; printed in CMYK it uses 15.22% cyan, 71.74% magenta, 0% yellow and 81.96% black. Its hue angle is 287.27°, with 55.93% saturation and 11.57% 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 17.75:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 15.21.

Description generated from the measured properties of this color.

Conversions of #270d2e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#330033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0092

Readable text 17.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.18:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #181818 ≈ 0.003% of males
Achromatomaly #1f1423 ≈ 0.001% of males
Protanopia #06162f ≈ 1.01% of males
Deuteranopia #0f192d ≈ 1.27% of males
Tritanopia #27121b ≈ 0.0001% of males
Protanomaly #18132f ≈ 1.08% of males
Deuteranomaly #1b152d ≈ 4.63% of males
Tritanomaly #271024 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-270d2e {
  color: #270d2e;
}
Background
.bg-270d2e {
  background-color: #270d2e;
  color: #ffffff;
}
Border
.border-270d2e {
  border: 2px solid #270d2e;
}
CSS variables
:root {
  --color-primary: #270d2e;
  --color-primary-rgb: 39 13 46;
  --color-primary-hsl: 287 56% 12%;
}
Gradient
.gradient-270d2e {
  background: linear-gradient(135deg, #270d2e, #2e0d25);
}
Colored shadow
.shadow-270d2e {
  box-shadow: 0 8px 24px rgb(39 13 46 / 0.35);
}

Tyrian Purple
#270d2e  rgb(39, 13, 46)  hsl(287, 56%, 12%)  Tyrian Purple
#142e0d  rgb(20, 46, 13)  hsl(107, 56%, 12%)  Phthalo Green
#2e270d  rgb(46, 39, 13)  hsl(47, 56%, 12%)  Bistre
#0d2e27  rgb(13, 46, 39)  hsl(167, 56%, 12%)  Phthalo Green