#540271

#540271 ≈ Indigo

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

#540271 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 0.78% green and 44.31% blue; printed in CMYK it uses 25.66% cyan, 98.23% magenta, 0% yellow and 55.69% black. Its hue angle is 284.32°, with 96.52% saturation and 22.55% 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.93:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.

Description generated from the measured properties of this color.

Conversions of #540271 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.0312

Readable text 12.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #422652 ≈ 0.001% of males
Protanopia #002e74 ≈ 1.01% of males
Deuteranopia #00336f ≈ 1.27% of males
Tritanopia #512440 ≈ 0.0001% of males
Protanomaly #2a2373 ≈ 1.08% of males
Deuteranomaly #332770 ≈ 4.63% of males
Tritanomaly #521b58 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540271 {
  color: #540271;
}
Background
.bg-540271 {
  background-color: #540271;
  color: #ffffff;
}
Border
.border-540271 {
  border: 2px solid #540271;
}
CSS variables
:root {
  --color-primary: #540271;
  --color-primary-rgb: 84 2 113;
  --color-primary-hsl: 284 97% 23%;
}
Gradient
.gradient-540271 {
  background: linear-gradient(135deg, #540271, #710257);
}
Colored shadow
.shadow-540271 {
  box-shadow: 0 8px 24px rgb(84 2 113 / 0.35);
}

Indigo
#540271  rgb(84, 2, 113)  hsl(284, 97%, 23%)  Indigo
#1f7102  rgb(31, 113, 2)  hsl(104, 97%, 23%)  Pakistan Green
#715402  rgb(113, 84, 2)  hsl(44, 97%, 23%)  Field Drab
#027154  rgb(2, 113, 84)  hsl(164, 97%, 23%)  Tropical Rain Forest