#5F084E

#5f084e ≈ Tyrian Purple

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#5f084e is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 37.25% red, 3.14% green and 30.59% blue; printed in CMYK it uses 0% cyan, 91.58% magenta, 17.89% yellow and 62.75% black. Its hue angle is 311.72°, with 84.47% saturation and 20.2% 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 12.87:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 6.34.

Description generated from the measured properties of this color.

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

Readable text 12.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #323232 ≈ 0.003% of males
Achromatomaly #48273f ≈ 0.001% of males
Protanopia #0e2950 ≈ 1.01% of males
Deuteranopia #2d364c ≈ 1.27% of males
Tritanopia #650e2c ≈ 0.0001% of males
Protanomaly #3e204f ≈ 1.08% of males
Deuteranomaly #462a4d ≈ 4.63% of males
Tritanomaly #630c3c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f084e {
  color: #5f084e;
}
Background
.bg-5f084e {
  background-color: #5f084e;
  color: #ffffff;
}
Border
.border-5f084e {
  border: 2px solid #5f084e;
}
CSS variables
:root {
  --color-primary: #5f084e;
  --color-primary-rgb: 95 8 78;
  --color-primary-hsl: 312 84% 20%;
}
Gradient
.gradient-5f084e {
  background: linear-gradient(135deg, #5f084e, #5f0823);
}
Colored shadow
.shadow-5f084e {
  box-shadow: 0 8px 24px rgb(95 8 78 / 0.35);
}

Tyrian Purple
#5f084e  rgb(95, 8, 78)  hsl(312, 84%, 20%)  Tyrian Purple
#085f19  rgb(8, 95, 25)  hsl(132, 84%, 20%)  Lincoln Green
#4e5f08  rgb(78, 95, 8)  hsl(72, 84%, 20%)  Dark Olive Green
#084e5f  rgb(8, 78, 95)  hsl(192, 84%, 20%)  Midnight Green