#540271 ≈ Indigo
#540271 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 0.78% green and 44.31% blue; printed in CMYK it uses 25.66% cyan, 98.23% magenta, 0% yellow and 55.69% black. Its hue angle is 284.32°, with 96.52% saturation and 22.55% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 12.93:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0312 |
Shades
#540271 mixed progressively with black.
Tints
#540271 mixed progressively with white.
Tones
#540271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540271 {
color: #540271;
}
.bg-540271 {
background-color: #540271;
color: #ffffff;
}
.border-540271 {
border: 2px solid #540271;
}
:root {
--color-primary: #540271;
--color-primary-rgb: 84 2 113;
--color-primary-hsl: 284 97% 23%;
}
.gradient-540271 {
background: linear-gradient(135deg, #540271, #710257);
}
.shadow-540271 {
box-shadow: 0 8px 24px rgb(84 2 113 / 0.35);
}
Indigo
#540271 rgb(84, 2, 113) hsl(284, 97%, 23%) Indigo
#1f7102 rgb(31, 113, 2) hsl(104, 97%, 23%) Pakistan Green
#715402 rgb(113, 84, 2) hsl(44, 97%, 23%) Field Drab
#027154 rgb(2, 113, 84) hsl(164, 97%, 23%) Tropical Rain Forest