#6f51ba ≈ Royal Purple
#6f51ba is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.53% red, 31.76% green and 72.94% blue; printed in CMYK it uses 40.32% cyan, 56.45% magenta, 0% yellow and 27.06% black. Its hue angle is 257.14°, with 43.21% saturation and 52.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 5.9:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1281 |
Shades
#6f51ba mixed progressively with black.
Tints
#6f51ba mixed progressively with white.
Tones
#6f51ba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6f51ba {
color: #6f51ba;
}
.bg-6f51ba {
background-color: #6f51ba;
color: #ffffff;
}
.border-6f51ba {
border: 2px solid #6f51ba;
}
:root {
--color-primary: #6f51ba;
--color-primary-rgb: 111 81 186;
--color-primary-hsl: 257 43% 52%;
}
.gradient-6f51ba {
background: linear-gradient(135deg, #6f51ba, #a351ba);
}
.shadow-6f51ba {
box-shadow: 0 8px 24px rgb(111 81 186 / 0.35);
}
Royal Purple
#6f51ba rgb(111, 81, 186) hsl(257, 43%, 52%) Royal Purple
#9cba51 rgb(156, 186, 81) hsl(77, 43%, 52%) Apple Green
#ba6f51 rgb(186, 111, 81) hsl(17, 43%, 52%) Cafe au Lait
#51ba6f rgb(81, 186, 111) hsl(137, 43%, 52%) Medium Sea Green