#271A2F

#271a2f ≈ Licorice

  • violet
  • Lightness: very low
  • Saturation: muted
  • Cool

#271a2f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 10.2% green and 18.43% blue; printed in CMYK it uses 17.02% cyan, 44.68% magenta, 0% yellow and 81.57% black. Its hue angle is 277.14°, with 28.77% saturation and 14.31% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 16.47:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 12.47.

Description generated from the measured properties of this color.

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

Readable text 16.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1f1f1f ≈ 0.003% of males
Achromatomaly #221d26 ≈ 0.001% of males
Protanopia #161e30 ≈ 1.01% of males
Deuteranopia #191f2e ≈ 1.27% of males
Tritanopia #261d22 ≈ 0.0001% of males
Protanomaly #1e1d2f ≈ 1.08% of males
Deuteranomaly #1f1d2f ≈ 4.63% of males
Tritanomaly #271c28 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-271a2f {
  color: #271a2f;
}
Background
.bg-271a2f {
  background-color: #271a2f;
  color: #ffffff;
}
Border
.border-271a2f {
  border: 2px solid #271a2f;
}
CSS variables
:root {
  --color-primary: #271a2f;
  --color-primary-rgb: 39 26 47;
  --color-primary-hsl: 277 29% 14%;
}
Gradient
.gradient-271a2f {
  background: linear-gradient(135deg, #271a2f, #2f1a2c);
}
Colored shadow
.shadow-271a2f {
  box-shadow: 0 8px 24px rgb(39 26 47 / 0.35);
}

Licorice
#271a2f  rgb(39, 26, 47)  hsl(277, 29%, 14%)  Licorice
#222f1a  rgb(34, 47, 26)  hsl(97, 29%, 14%)  Phthalo Green
#2f271a  rgb(47, 39, 26)  hsl(37, 29%, 14%)  Bistre
#1a2f27  rgb(26, 47, 39)  hsl(157, 29%, 14%)  Phthalo Green