#512d8d ≈ Rebecca Purple
#512d8d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 17.65% green and 55.29% blue; printed in CMYK it uses 42.55% cyan, 68.09% magenta, 0% yellow and 44.71% black. Its hue angle is 262.5°, with 51.61% saturation and 36.47% 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.95:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.24.
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.0555 |
Shades
#512d8d mixed progressively with black.
Tints
#512d8d mixed progressively with white.
Tones
#512d8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-512d8d {
color: #512d8d;
}
.bg-512d8d {
background-color: #512d8d;
color: #ffffff;
}
.border-512d8d {
border: 2px solid #512d8d;
}
:root {
--color-primary: #512d8d;
--color-primary-rgb: 81 45 141;
--color-primary-hsl: 263 52% 36%;
}
.gradient-512d8d {
background: linear-gradient(135deg, #512d8d, #812d8d);
}
.shadow-512d8d {
box-shadow: 0 8px 24px rgb(81 45 141 / 0.35);
}
Rebecca Purple
#512d8d rgb(81, 45, 141) hsl(263, 52%, 36%) Rebecca Purple
#698d2d rgb(105, 141, 45) hsl(83, 52%, 36%) Olive Drab
#8d512d rgb(141, 81, 45) hsl(23, 52%, 36%) Russet
#2d8d51 rgb(45, 141, 81) hsl(143, 52%, 36%) Sea Green