#340f3c ≈ Tyrian Purple
#340f3c is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 20.39% red, 5.88% green and 23.53% blue; printed in CMYK it uses 13.33% cyan, 75% magenta, 0% yellow and 76.47% black. Its hue angle is 289.33°, with 60% saturation and 14.71% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.41:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 13.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.014 |
Shades
#340f3c mixed progressively with black.
Tints
#340f3c mixed progressively with white.
Tones
#340f3c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340f3c {
color: #340f3c;
}
.bg-340f3c {
background-color: #340f3c;
color: #ffffff;
}
.border-340f3c {
border: 2px solid #340f3c;
}
:root {
--color-primary: #340f3c;
--color-primary-rgb: 52 15 60;
--color-primary-hsl: 289 60% 15%;
}
.gradient-340f3c {
background: linear-gradient(135deg, #340f3c, #3c0f2e);
}
.shadow-340f3c {
box-shadow: 0 8px 24px rgb(52 15 60 / 0.35);
}
Tyrian Purple
#340f3c rgb(52, 15, 60) hsl(289, 60%, 15%) Tyrian Purple
#173c0f rgb(23, 60, 15) hsl(109, 60%, 15%) British Racing Green
#3c340f rgb(60, 52, 15) hsl(49, 60%, 15%) Army Green
#0f3c34 rgb(15, 60, 52) hsl(169, 60%, 15%) Phthalo Green