#540ded ≈ Han Purple
#540ded is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 5.1% green and 92.94% blue; printed in CMYK it uses 64.56% cyan, 94.51% magenta, 0% yellow and 7.06% black. Its hue angle is 259.02°, with 89.6% saturation and 49.02% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.9:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.02.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0829 |
Shades
#540ded mixed progressively with black.
Tints
#540ded mixed progressively with white.
Tones
#540ded mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540ded {
color: #540ded;
}
.bg-540ded {
background-color: #540ded;
color: #ffffff;
}
.border-540ded {
border: 2px solid #540ded;
}
:root {
--color-primary: #540ded;
--color-primary-rgb: 84 13 237;
--color-primary-hsl: 259 90% 49%;
}
.gradient-540ded {
background: linear-gradient(135deg, #540ded, #c40ded);
}
.shadow-540ded {
box-shadow: 0 8px 24px rgb(84 13 237 / 0.35);
}
Han Purple
#540ded rgb(84, 13, 237) hsl(259, 90%, 49%) Han Purple
#a6ed0d rgb(166, 237, 13) hsl(79, 90%, 49%) Spring Bud
#ed540d rgb(237, 84, 13) hsl(19, 90%, 49%) Persimmon
#0ded54 rgb(13, 237, 84) hsl(139, 90%, 49%) Malachite