#340338 ≈ Tyrian Purple
#340338 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, 1.18% green and 21.96% blue; printed in CMYK it uses 7.14% cyan, 94.64% magenta, 0% yellow and 78.04% black. Its hue angle is 295.47°, with 89.83% saturation and 11.57% 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 17.27:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 12.68.
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.0108 |
Shades
#340338 mixed progressively with black.
Tints
#340338 mixed progressively with white.
Tones
#340338 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340338 {
color: #340338;
}
.bg-340338 {
background-color: #340338;
color: #ffffff;
}
.border-340338 {
border: 2px solid #340338;
}
:root {
--color-primary: #340338;
--color-primary-rgb: 52 3 56;
--color-primary-hsl: 295 90% 12%;
}
.gradient-340338 {
background: linear-gradient(135deg, #340338, #380322);
}
.shadow-340338 {
box-shadow: 0 8px 24px rgb(52 3 56 / 0.35);
}
Tyrian Purple
#340338 rgb(52, 3, 56) hsl(295, 90%, 12%) Tyrian Purple
#073803 rgb(7, 56, 3) hsl(115, 90%, 12%) British Racing Green
#383403 rgb(56, 52, 3) hsl(55, 90%, 12%) Army Green
#033834 rgb(3, 56, 52) hsl(175, 90%, 12%) Phthalo Green