#340f5f ≈ Persian Indigo
#340f5f is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 5.88% green and 37.25% blue; printed in CMYK it uses 45.26% cyan, 84.21% magenta, 0% yellow and 62.75% black. Its hue angle is 267.75°, with 72.73% saturation and 21.57% 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.22:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 4.94.
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.019 |
Shades
#340f5f mixed progressively with black.
Tints
#340f5f mixed progressively with white.
Tones
#340f5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340f5f {
color: #340f5f;
}
.bg-340f5f {
background-color: #340f5f;
color: #ffffff;
}
.border-340f5f {
border: 2px solid #340f5f;
}
:root {
--color-primary: #340f5f;
--color-primary-rgb: 52 15 95;
--color-primary-hsl: 268 73% 22%;
}
.gradient-340f5f {
background: linear-gradient(135deg, #340f5f, #5c0f5f);
}
.shadow-340f5f {
box-shadow: 0 8px 24px rgb(52 15 95 / 0.35);
}
Persian Indigo
#340f5f rgb(52, 15, 95) hsl(268, 73%, 22%) Persian Indigo
#3a5f0f rgb(58, 95, 15) hsl(88, 73%, 22%) Lincoln Green
#5f340f rgb(95, 52, 15) hsl(28, 73%, 22%) Sepia
#0f5f34 rgb(15, 95, 52) hsl(148, 73%, 22%) Cadmium Green