#340f71 ≈ Persian Indigo
#340f71 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 44.31% blue; printed in CMYK it uses 53.98% cyan, 86.73% magenta, 0% yellow and 55.69% black. Its hue angle is 262.65°, with 76.56% saturation and 25.1% 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 14.45:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 1.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.0226 |
Shades
#340f71 mixed progressively with black.
Tints
#340f71 mixed progressively with white.
Tones
#340f71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340f71 {
color: #340f71;
}
.bg-340f71 {
background-color: #340f71;
color: #ffffff;
}
.border-340f71 {
border: 2px solid #340f71;
}
:root {
--color-primary: #340f71;
--color-primary-rgb: 52 15 113;
--color-primary-hsl: 263 77% 25%;
}
.gradient-340f71 {
background: linear-gradient(135deg, #340f71, #650f71);
}
.shadow-340f71 {
box-shadow: 0 8px 24px rgb(52 15 113 / 0.35);
}
Persian Indigo
#340f71 rgb(52, 15, 113) hsl(263, 77%, 25%) Persian Indigo
#4c710f rgb(76, 113, 15) hsl(83, 77%, 25%) Sap Green
#71340f rgb(113, 52, 15) hsl(23, 77%, 25%) Russet
#0f7134 rgb(15, 113, 52) hsl(143, 77%, 25%) Cadmium Green