#511dab ≈ Rebecca Purple
#511dab is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 31.76% red, 11.37% green and 67.06% blue; printed in CMYK it uses 52.63% cyan, 83.04% magenta, 0% yellow and 32.94% black. Its hue angle is 261.97°, with 71% saturation and 39.22% 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.94:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 6.61.
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.0557 |
Shades
#511dab mixed progressively with black.
Tints
#511dab mixed progressively with white.
Tones
#511dab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-511dab {
color: #511dab;
}
.bg-511dab {
background-color: #511dab;
color: #ffffff;
}
.border-511dab {
border: 2px solid #511dab;
}
:root {
--color-primary: #511dab;
--color-primary-rgb: 81 29 171;
--color-primary-hsl: 262 71% 39%;
}
.gradient-511dab {
background: linear-gradient(135deg, #511dab, #981dab);
}
.shadow-511dab {
box-shadow: 0 8px 24px rgb(81 29 171 / 0.35);
}
Rebecca Purple
#511dab rgb(81, 29, 171) hsl(262, 71%, 39%) Rebecca Purple
#77ab1d rgb(119, 171, 29) hsl(82, 71%, 39%) Apple Green
#ab511d rgb(171, 81, 29) hsl(22, 71%, 39%) Sienna
#1dab51 rgb(29, 171, 81) hsl(142, 71%, 39%) Medium Sea Green