#340235 ≈ Tyrian Purple
#340235 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, 0.78% green and 20.78% blue; printed in CMYK it uses 1.89% cyan, 96.23% magenta, 0% yellow and 79.22% black. Its hue angle is 298.82°, with 92.73% saturation and 10.78% 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.41:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 12.28.
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.0103 |
Shades
#340235 mixed progressively with black.
Tints
#340235 mixed progressively with white.
Tones
#340235 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340235 {
color: #340235;
}
.bg-340235 {
background-color: #340235;
color: #ffffff;
}
.border-340235 {
border: 2px solid #340235;
}
:root {
--color-primary: #340235;
--color-primary-rgb: 52 2 53;
--color-primary-hsl: 299 93% 11%;
}
.gradient-340235 {
background: linear-gradient(135deg, #340235, #35021c);
}
.shadow-340235 {
box-shadow: 0 8px 24px rgb(52 2 53 / 0.35);
}
Tyrian Purple
#340235 rgb(52, 2, 53) hsl(299, 93%, 11%) Tyrian Purple
#033502 rgb(3, 53, 2) hsl(119, 93%, 11%) British Racing Green
#353402 rgb(53, 52, 2) hsl(59, 93%, 11%) Army Green
#023534 rgb(2, 53, 52) hsl(179, 93%, 11%) Phthalo Green