#540B85

#540b85 ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#540b85 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 4.31% green and 52.16% blue; printed in CMYK it uses 36.84% cyan, 91.73% magenta, 0% yellow and 47.84% black. Its hue angle is 275.9°, with 84.72% saturation and 28.24% 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 luxury branding. White text on this color reaches a contrast ratio of 11.91:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.

Description generated from the measured properties of this color.

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

Readable text 11.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #373737 ≈ 0.003% of males
Achromatomaly #442b60 ≈ 0.001% of males
Protanopia #003588 ≈ 1.01% of males
Deuteranopia #003783 ≈ 1.27% of males
Tritanopia #4a314d ≈ 0.0001% of males
Protanomaly #232a87 ≈ 1.08% of males
Deuteranomaly #2b2b84 ≈ 4.63% of males
Tritanomaly #4e2668 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540b85 {
  color: #540b85;
}
Background
.bg-540b85 {
  background-color: #540b85;
  color: #ffffff;
}
Border
.border-540b85 {
  border: 2px solid #540b85;
}
CSS variables
:root {
  --color-primary: #540b85;
  --color-primary-rgb: 84 11 133;
  --color-primary-hsl: 276 85% 28%;
}
Gradient
.gradient-540b85 {
  background: linear-gradient(135deg, #540b85, #850b79);
}
Colored shadow
.shadow-540b85 {
  box-shadow: 0 8px 24px rgb(84 11 133 / 0.35);
}

Indigo
#540b85  rgb(84, 11, 133)  hsl(276, 85%, 28%)  Indigo
#3c850b  rgb(60, 133, 11)  hsl(96, 85%, 28%)  India Green
#85540b  rgb(133, 84, 11)  hsl(36, 85%, 28%)  Golden Brown
#0b8554  rgb(11, 133, 84)  hsl(156, 85%, 28%)  Sea Green