#540ea6 ≈ Indigo
#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.
| 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 luminance | 0.0495 |
Shades
#540ea6 mixed progressively with black.
Tints
#540ea6 mixed progressively with white.
Tones
#540ea6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540ea6 {
color: #540ea6;
}
.bg-540ea6 {
background-color: #540ea6;
color: #ffffff;
}
.border-540ea6 {
border: 2px solid #540ea6;
}
:root {
--color-primary: #540ea6;
--color-primary-rgb: 84 14 166;
--color-primary-hsl: 268 84% 35%;
}
.gradient-540ea6 {
background: linear-gradient(135deg, #540ea6, #a00ea6);
}
.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