#6c1271 ≈ Purple
#6c1271 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 42.35% red, 7.06% green and 44.31% blue; printed in CMYK it uses 4.42% cyan, 84.07% magenta, 0% yellow and 55.69% black. Its hue angle is 296.84°, with 72.52% saturation and 25.69% 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 10.7:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 3.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0481 |
Shades
#6c1271 mixed progressively with black.
Tints
#6c1271 mixed progressively with white.
Tones
#6c1271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6c1271 {
color: #6c1271;
}
.bg-6c1271 {
background-color: #6c1271;
color: #ffffff;
}
.border-6c1271 {
border: 2px solid #6c1271;
}
:root {
--color-primary: #6c1271;
--color-primary-rgb: 108 18 113;
--color-primary-hsl: 297 73% 26%;
}
.gradient-6c1271 {
background: linear-gradient(135deg, #6c1271, #711247);
}
.shadow-6c1271 {
box-shadow: 0 8px 24px rgb(108 18 113 / 0.35);
}
Purple
#6c1271 rgb(108, 18, 113) hsl(297, 73%, 26%) Purple
#177112 rgb(23, 113, 18) hsl(117, 73%, 26%) Pakistan Green
#716c12 rgb(113, 108, 18) hsl(57, 73%, 26%) Olive
#12716c rgb(18, 113, 108) hsl(177, 73%, 26%) Pine Green