#51138c ≈ Indigo
#51138c is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 7.45% green and 54.9% blue; printed in CMYK it uses 42.14% cyan, 86.43% magenta, 0% yellow and 45.1% black. Its hue angle is 270.74°, with 76.1% saturation and 31.18% 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 11.53:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.67.
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.0411 |
Shades
#51138c mixed progressively with black.
Tints
#51138c mixed progressively with white.
Tones
#51138c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-51138c {
color: #51138c;
}
.bg-51138c {
background-color: #51138c;
color: #ffffff;
}
.border-51138c {
border: 2px solid #51138c;
}
:root {
--color-primary: #51138c;
--color-primary-rgb: 81 19 140;
--color-primary-hsl: 271 76% 31%;
}
.gradient-51138c {
background: linear-gradient(135deg, #51138c, #8c138b);
}
.shadow-51138c {
box-shadow: 0 8px 24px rgb(81 19 140 / 0.35);
}
Indigo
#51138c rgb(81, 19, 140) hsl(271, 76%, 31%) Indigo
#4e8c13 rgb(78, 140, 19) hsl(91, 76%, 31%) Avocado
#8c5113 rgb(140, 81, 19) hsl(31, 76%, 31%) Saddle Brown
#138c51 rgb(19, 140, 81) hsl(151, 76%, 31%) Sea Green