#42226a ≈ Persian Indigo
#42226a 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.57% blue; printed in CMYK it uses 37.74% cyan, 67.92% magenta, 0% yellow and 58.43% black. Its hue angle is 266.67°, with 51.43% saturation and 27.45% 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.59:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 6.1.
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.0334 |
Shades
#42226a mixed progressively with black.
Tints
#42226a mixed progressively with white.
Tones
#42226a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42226a {
color: #42226a;
}
.bg-42226a {
background-color: #42226a;
color: #ffffff;
}
.border-42226a {
border: 2px solid #42226a;
}
:root {
--color-primary: #42226a;
--color-primary-rgb: 66 34 106;
--color-primary-hsl: 267 51% 27%;
}
.gradient-42226a {
background: linear-gradient(135deg, #42226a, #66226a);
}
.shadow-42226a {
box-shadow: 0 8px 24px rgb(66 34 106 / 0.35);
}
Persian Indigo
#42226a rgb(66, 34, 106) hsl(267, 51%, 27%) Persian Indigo
#4a6a22 rgb(74, 106, 34) hsl(87, 51%, 27%) Dark Olive Green
#6a4222 rgb(106, 66, 34) hsl(27, 51%, 27%) Sepia
#226a42 rgb(34, 106, 66) hsl(147, 51%, 27%) Cadmium Green