#511fab ≈ Rebecca Purple
#511fab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 31.76% red, 12.16% green and 67.06% blue; printed in CMYK it uses 52.63% cyan, 81.87% magenta, 0% yellow and 32.94% black. Its hue angle is 261.43°, with 69.31% saturation and 39.61% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 9.84:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 6.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0567 |
Shades
#511fab mixed progressively with black.
Tints
#511fab mixed progressively with white.
Tones
#511fab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511fab {
color: #511fab;
}
.bg-511fab {
background-color: #511fab;
color: #ffffff;
}
.border-511fab {
border: 2px solid #511fab;
}
:root {
--color-primary: #511fab;
--color-primary-rgb: 81 31 171;
--color-primary-hsl: 261 69% 40%;
}
.gradient-511fab {
background: linear-gradient(135deg, #511fab, #971fab);
}
.shadow-511fab {
box-shadow: 0 8px 24px rgb(81 31 171 / 0.35);
}
Rebecca Purple
#511fab rgb(81, 31, 171) hsl(261, 69%, 40%) Rebecca Purple
#79ab1f rgb(121, 171, 31) hsl(81, 69%, 40%) Apple Green
#ab511f rgb(171, 81, 31) hsl(21, 69%, 40%) Sienna
#1fab51 rgb(31, 171, 81) hsl(141, 69%, 40%) Medium Sea Green