#28126d ≈ Persian Indigo
#28126d 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 42.75% blue; printed in CMYK it uses 63.3% cyan, 83.49% magenta, 0% yellow and 57.25% black. Its hue angle is 254.51°, with 71.65% saturation and 24.9% 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 15.03:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 2.45.
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.0199 |
Shades
#28126d mixed progressively with black.
Tints
#28126d mixed progressively with white.
Tones
#28126d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28126d {
color: #28126d;
}
.bg-28126d {
background-color: #28126d;
color: #ffffff;
}
.border-28126d {
border: 2px solid #28126d;
}
:root {
--color-primary: #28126d;
--color-primary-rgb: 40 18 109;
--color-primary-hsl: 255 72% 25%;
}
.gradient-28126d {
background: linear-gradient(135deg, #28126d, #55126d);
}
.shadow-28126d {
box-shadow: 0 8px 24px rgb(40 18 109 / 0.35);
}
Persian Indigo
#28126d rgb(40, 18, 109) hsl(255, 72%, 25%) Persian Indigo
#576d12 rgb(87, 109, 18) hsl(75, 72%, 25%) Dark Olive Green
#6d2812 rgb(109, 40, 18) hsl(15, 72%, 25%) Kobe
#126d28 rgb(18, 109, 40) hsl(135, 72%, 25%) Pakistan Green