#840d52 ≈ Pansy Purple
#840d52 is a color from the rose family, with low lightness and moderate saturation. In the RGB model it is made of 51.76% red, 5.1% green and 32.16% blue; printed in CMYK it uses 0% cyan, 90.15% magenta, 37.88% yellow and 48.24% black. Its hue angle is 325.21°, with 82.07% saturation and 28.43% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 9.72:1 (WCAG AAA). The closest named color is Pansy Purple (#78184a), ΔE 2.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.058 |
Shades
#840d52 mixed progressively with black.
Tints
#840d52 mixed progressively with white.
Tones
#840d52 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840d52 {
color: #840d52;
}
.bg-840d52 {
background-color: #840d52;
color: #ffffff;
}
.border-840d52 {
border: 2px solid #840d52;
}
:root {
--color-primary: #840d52;
--color-primary-rgb: 132 13 82;
--color-primary-hsl: 325 82% 28%;
}
.gradient-840d52 {
background: linear-gradient(135deg, #840d52, #840d16);
}
.shadow-840d52 {
box-shadow: 0 8px 24px rgb(132 13 82 / 0.35);
}
Pansy Purple
#840d52 rgb(132, 13, 82) hsl(325, 82%, 28%) Pansy Purple
#0d843f rgb(13, 132, 63) hsl(145, 82%, 28%) Sea Green
#52840d rgb(82, 132, 13) hsl(85, 82%, 28%) Avocado
#0d5284 rgb(13, 82, 132) hsl(205, 82%, 28%) Yale Blue