#540FA3

#540fa3 ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#540fa3 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 32.94% red, 5.88% green and 63.92% blue; printed in CMYK it uses 48.47% cyan, 90.8% magenta, 0% yellow and 36.08% black. Its hue angle is 267.97°, with 83.15% saturation and 34.9% 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 corporate identities. White text on this color reaches a contrast ratio of 10.64:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 5.31.

Description generated from the measured properties of this color.

Conversions of #540fa3 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.0487

Readable text 10.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #483174 ≈ 0.001% of males
Protanopia #003fa7 ≈ 1.01% of males
Deuteranopia #003ca1 ≈ 1.27% of males
Tritanopia #3c405f ≈ 0.0001% of males
Protanomaly #0532a5 ≈ 1.08% of males
Deuteranomaly #1530a2 ≈ 4.63% of males
Tritanomaly #473380 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-540fa3 {
  color: #540fa3;
}
Background
.bg-540fa3 {
  background-color: #540fa3;
  color: #ffffff;
}
Border
.border-540fa3 {
  border: 2px solid #540fa3;
}
CSS variables
:root {
  --color-primary: #540fa3;
  --color-primary-rgb: 84 15 163;
  --color-primary-hsl: 268 83% 35%;
}
Gradient
.gradient-540fa3 {
  background: linear-gradient(135deg, #540fa3, #9e0fa3);
}
Colored shadow
.shadow-540fa3 {
  box-shadow: 0 8px 24px rgb(84 15 163 / 0.35);
}

Indigo
#540fa3  rgb(84, 15, 163)  hsl(268, 83%, 35%)  Indigo
#5ea30f  rgb(94, 163, 15)  hsl(88, 83%, 35%)  Kelly Green
#a3540f  rgb(163, 84, 15)  hsl(28, 83%, 35%)  Sienna
#0fa354  rgb(15, 163, 84)  hsl(148, 83%, 35%)  Shamrock Green