In RGB color space, #540d7c hex color has a red value of 84, a green value of 13 and a blue value of 124.
In CMYK color space (used in color printing), #540d7c hex color is composed of 32.26% cyan, 89.52% magenta, 0% yellow and 51.37% black.
#540d7c color has a hue of 278.4 degrees, a saturation of 81.02% and a lightness of 26.9%.
#540d7c hex color contains mainly BLUE.
The closest web safe color of #540d7c is #660066
#540d7c hex color has a decimal value of 5508476.
HEX | 540d7c | #540d7c |
---|---|---|
RGB | 84, 13, 124 | rgb(84, 13, 124) |
RGB Percent | 32.94, 5.1, 48.63 | rgb(32.94, 5.1, 48.63) |
CMYK | 32, 90, 0, 51 | |
HSL | 278.4°, 81.02, 26.9 | hsl(278.4, 81.02%, 26.9%) |
HSV | 278.4°, 89.5, 48.6 |
XYZ | 7.438, 3.628, 19.377 |
---|---|
Hunter Lab | 19.047, 36.372, -46.983 |
CIE-LAB | 22.401, 48.343, -46.287 |
CIE-LCH | 22.401, 66.929, 316.245 |
CIE-LUV | 32.26, 89.52, 0, 51.37 |
Web Safe | 660066 |
RGB percent of color #540d7c
CMYK percent of color #540d7c
Text with hexadecimal color #540d7c
This text has a font color of #540d7c
<p style="color:#540d7c">Text here</p>
#540d7c Background Color
This box has a background color of #540d7c
<div style="background-color:#540d7c">Text here</div>
#540d7c Border Color
This box has a border color of #540d7c
<div style="border: 4px solid #540d7c">Text here</div>
CSS codes
<p style="color:#540d7c">Text here</p>
<div style="background-color:#540d7c">Text here</div>
<div style="border: 4px solid #540d7c">Text here</div>
#540d7c Color on white background
This is how a font and box color of #540d7c will look
on a white background.
#540d7c Color on black background
This is how a font and box color of #540d7c hex color will look
on a black background.