#28126e ≈ Persian Indigo
#28126e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 7.06% green and 43.14% blue; printed in CMYK it uses 63.64% cyan, 83.64% magenta, 0% yellow and 56.86% black. Its hue angle is 254.35°, with 71.88% saturation and 25.1% 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 luxury branding. White text on this color reaches a contrast ratio of 14.98:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.31.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0201 |
Shades
#28126e mixed progressively with black.
Tints
#28126e mixed progressively with white.
Tones
#28126e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28126e {
color: #28126e;
}
.bg-28126e {
background-color: #28126e;
color: #ffffff;
}
.border-28126e {
border: 2px solid #28126e;
}
:root {
--color-primary: #28126e;
--color-primary-rgb: 40 18 110;
--color-primary-hsl: 254 72% 25%;
}
.gradient-28126e {
background: linear-gradient(135deg, #28126e, #56126e);
}
.shadow-28126e {
box-shadow: 0 8px 24px rgb(40 18 110 / 0.35);
}
Persian Indigo
#28126e rgb(40, 18, 110) hsl(254, 72%, 25%) Persian Indigo
#586e12 rgb(88, 110, 18) hsl(74, 72%, 25%) Dark Olive Green
#6e2812 rgb(110, 40, 18) hsl(14, 72%, 25%) Kobe
#126e28 rgb(18, 110, 40) hsl(134, 72%, 25%) Pakistan Green