#540480

#540480 ≈ Indigo

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

#540480 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 1.57% green and 50.2% blue; printed in CMYK it uses 34.38% cyan, 96.88% magenta, 0% yellow and 49.8% black. Its hue angle is 278.71°, with 93.94% saturation and 25.88% 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 12.31:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 1.9.

Description generated from the measured properties of this color.

Conversions of #540480 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.0353

Readable text 12.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #43285c ≈ 0.001% of males
Protanopia #003383 ≈ 1.01% of males
Deuteranopia #00357e ≈ 1.27% of males
Tritanopia #4c2d49 ≈ 0.0001% of males
Protanomaly #242782 ≈ 1.08% of males
Deuteranomaly #2d297f ≈ 4.63% of males
Tritanomaly #4f2264 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540480 {
  color: #540480;
}
Background
.bg-540480 {
  background-color: #540480;
  color: #ffffff;
}
Border
.border-540480 {
  border: 2px solid #540480;
}
CSS variables
:root {
  --color-primary: #540480;
  --color-primary-rgb: 84 4 128;
  --color-primary-hsl: 279 94% 26%;
}
Gradient
.gradient-540480 {
  background: linear-gradient(135deg, #540480, #80046e);
}
Colored shadow
.shadow-540480 {
  box-shadow: 0 8px 24px rgb(84 4 128 / 0.35);
}

Indigo
#540480  rgb(84, 4, 128)  hsl(279, 94%, 26%)  Indigo
#308004  rgb(48, 128, 4)  hsl(99, 94%, 26%)  Green
#805404  rgb(128, 84, 4)  hsl(39, 94%, 26%)  Field Drab
#048054  rgb(4, 128, 84)  hsl(159, 94%, 26%)  Sea Green