#42226b ≈ Persian Indigo
#42226b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.88% red, 13.33% green and 41.96% blue; printed in CMYK it uses 38.32% cyan, 68.22% magenta, 0% yellow and 58.04% black. Its hue angle is 266.3°, with 51.77% saturation and 27.65% 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 12.55:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 5.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0336 |
Shades
#42226b mixed progressively with black.
Tints
#42226b mixed progressively with white.
Tones
#42226b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42226b {
color: #42226b;
}
.bg-42226b {
background-color: #42226b;
color: #ffffff;
}
.border-42226b {
border: 2px solid #42226b;
}
:root {
--color-primary: #42226b;
--color-primary-rgb: 66 34 107;
--color-primary-hsl: 266 52% 28%;
}
.gradient-42226b {
background: linear-gradient(135deg, #42226b, #67226b);
}
.shadow-42226b {
box-shadow: 0 8px 24px rgb(66 34 107 / 0.35);
}
Persian Indigo
#42226b rgb(66, 34, 107) hsl(266, 52%, 28%) Persian Indigo
#4b6b22 rgb(75, 107, 34) hsl(86, 52%, 28%) Dark Olive Green
#6b4222 rgb(107, 66, 34) hsl(26, 52%, 28%) Sepia
#226b42 rgb(34, 107, 66) hsl(146, 52%, 28%) Cadmium Green