#540EA6

#540ea6 ≈ Indigo

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

#540ea6 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.49% green and 65.1% blue; printed in CMYK it uses 49.4% cyan, 91.57% magenta, 0% yellow and 34.9% black. Its hue angle is 267.63°, with 84.44% saturation and 35.29% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.55:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 5.68.

Description generated from the measured properties of this color.

Conversions of #540ea6 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.0495

Readable text 10.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #483276 ≈ 0.001% of males
Protanopia #0040aa ≈ 1.01% of males
Deuteranopia #003ca3 ≈ 1.27% of males
Tritanopia #3a4161 ≈ 0.0001% of males
Protanomaly #0033a8 ≈ 1.08% of males
Deuteranomaly #1030a4 ≈ 4.63% of males
Tritanomaly #463482 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#540ea6  rgb(84, 14, 166)  hsl(268, 84%, 35%)  Indigo
#60a60e  rgb(96, 166, 14)  hsl(88, 84%, 35%)  Kelly Green
#a6540e  rgb(166, 84, 14)  hsl(28, 84%, 35%)  Sienna
#0ea654  rgb(14, 166, 84)  hsl(148, 84%, 35%)  Shamrock Green