#340f4e ≈ Persian Indigo
#340f4e is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 20.39% red, 5.88% green and 30.59% blue; printed in CMYK it uses 33.33% cyan, 80.77% magenta, 0% yellow and 69.41% black. Its hue angle is 275.24°, with 67.74% saturation and 18.24% 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.86:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 8.66.
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.0162 |
Shades
#340f4e mixed progressively with black.
Tints
#340f4e mixed progressively with white.
Tones
#340f4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340f4e {
color: #340f4e;
}
.bg-340f4e {
background-color: #340f4e;
color: #ffffff;
}
.border-340f4e {
border: 2px solid #340f4e;
}
:root {
--color-primary: #340f4e;
--color-primary-rgb: 52 15 78;
--color-primary-hsl: 275 68% 18%;
}
.gradient-340f4e {
background: linear-gradient(135deg, #340f4e, #4e0f49);
}
.shadow-340f4e {
box-shadow: 0 8px 24px rgb(52 15 78 / 0.35);
}
Persian Indigo
#340f4e rgb(52, 15, 78) hsl(275, 68%, 18%) Persian Indigo
#294e0f rgb(41, 78, 15) hsl(95, 68%, 18%) Lincoln Green
#4e340f rgb(78, 52, 15) hsl(35, 68%, 18%) Sepia
#0f4e34 rgb(15, 78, 52) hsl(155, 68%, 18%) British Racing Green