#5f2dab ≈ Rebecca Purple
#5f2dab is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.25% red, 17.65% green and 67.06% blue; printed in CMYK it uses 44.44% cyan, 73.68% magenta, 0% yellow and 32.94% black. Its hue angle is 263.81°, with 58.33% saturation and 42.35% 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 8.57:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.77.
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.0725 |
Shades
#5f2dab mixed progressively with black.
Tints
#5f2dab mixed progressively with white.
Tones
#5f2dab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f2dab {
color: #5f2dab;
}
.bg-5f2dab {
background-color: #5f2dab;
color: #ffffff;
}
.border-5f2dab {
border: 2px solid #5f2dab;
}
:root {
--color-primary: #5f2dab;
--color-primary-rgb: 95 45 171;
--color-primary-hsl: 264 58% 42%;
}
.gradient-5f2dab {
background: linear-gradient(135deg, #5f2dab, #9e2dab);
}
.shadow-5f2dab {
box-shadow: 0 8px 24px rgb(95 45 171 / 0.35);
}
Rebecca Purple
#5f2dab rgb(95, 45, 171) hsl(264, 58%, 42%) Rebecca Purple
#79ab2d rgb(121, 171, 45) hsl(84, 58%, 42%) Apple Green
#ab5f2d rgb(171, 95, 45) hsl(24, 58%, 42%) Sienna
#2dab5f rgb(45, 171, 95) hsl(144, 58%, 42%) Medium Sea Green