#51156A

#51156a ≈ Indigo

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

#51156a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 8.24% green and 41.57% blue; printed in CMYK it uses 23.58% cyan, 80.19% magenta, 0% yellow and 58.43% black. Its hue angle is 282.35°, with 66.93% saturation and 24.9% 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 12.61:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 5.75.

Description generated from the measured properties of this color.

Conversions of #51156a 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.0333

Readable text 12.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #333333 ≈ 0.003% of males
Achromatomaly #412a4f ≈ 0.001% of males
Protanopia #00306c ≈ 1.01% of males
Deuteranopia #0c3468 ≈ 1.27% of males
Tritanopia #4e293f ≈ 0.0001% of males
Protanomaly #2e286b ≈ 1.08% of males
Deuteranomaly #352b69 ≈ 4.63% of males
Tritanomaly #4f2253 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-51156a {
  color: #51156a;
}
Background
.bg-51156a {
  background-color: #51156a;
  color: #ffffff;
}
Border
.border-51156a {
  border: 2px solid #51156a;
}
CSS variables
:root {
  --color-primary: #51156a;
  --color-primary-rgb: 81 21 106;
  --color-primary-hsl: 282 67% 25%;
}
Gradient
.gradient-51156a {
  background: linear-gradient(135deg, #51156a, #6a1558);
}
Colored shadow
.shadow-51156a {
  box-shadow: 0 8px 24px rgb(81 21 106 / 0.35);
}

Indigo
#51156a  rgb(81, 21, 106)  hsl(282, 67%, 25%)  Indigo
#2e6a15  rgb(46, 106, 21)  hsl(102, 67%, 25%)  Pakistan Green
#6a5115  rgb(106, 81, 21)  hsl(42, 67%, 25%)  Field Drab
#156a51  rgb(21, 106, 81)  hsl(162, 67%, 25%)  Tropical Rain Forest