#5F047E

#5f047e ≈ Indigo

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Cool

#5f047e is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 37.25% red, 1.57% green and 49.41% blue; printed in CMYK it uses 24.6% cyan, 96.83% magenta, 0% yellow and 50.59% black. Its hue angle is 284.75°, with 93.85% saturation and 25.49% lightness in HSL. It is a cool color, 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 11.63:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #5f047e 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.0403

Readable text 11.63:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #4b2b5c ≈ 0.001% of males
Protanopia #003481 ≈ 1.01% of males
Deuteranopia #003a7c ≈ 1.27% of males
Tritanopia #5c2a48 ≈ 0.0001% of males
Protanomaly #322880 ≈ 1.08% of males
Deuteranomaly #3b2d7d ≈ 4.63% of males
Tritanomaly #5d2062 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f047e {
  color: #5f047e;
}
Background
.bg-5f047e {
  background-color: #5f047e;
  color: #ffffff;
}
Border
.border-5f047e {
  border: 2px solid #5f047e;
}
CSS variables
:root {
  --color-primary: #5f047e;
  --color-primary-rgb: 95 4 126;
  --color-primary-hsl: 285 94% 25%;
}
Gradient
.gradient-5f047e {
  background: linear-gradient(135deg, #5f047e, #7e0460);
}
Colored shadow
.shadow-5f047e {
  box-shadow: 0 8px 24px rgb(95 4 126 / 0.35);
}

Indigo
#5f047e  rgb(95, 4, 126)  hsl(285, 94%, 25%)  Indigo
#237e04  rgb(35, 126, 4)  hsl(105, 94%, 25%)  Green
#7e5f04  rgb(126, 95, 4)  hsl(45, 94%, 25%)  Field Drab
#047e5f  rgb(4, 126, 95)  hsl(165, 94%, 25%)  Tropical Rain Forest