In RGB color space, #540c56 hex color has a red value of 84, a green value of 12 and a blue value of 86.
In CMYK color space (used in color printing), #540c56 hex color is composed of 2.33% cyan, 86.05% magenta, 0% yellow and 66.27% black.
#540c56 color has a hue of 298.4 degrees, a saturation of 75.51% and a lightness of 19.2%.
#540c56 hex color contains mainly BLUE.
The closest web safe color of #540c56 is #660066
#540c56 hex color has a decimal value of 5508182.
HEX | 540c56 | #540c56 |
---|---|---|
RGB | 84, 12, 86 | rgb(84, 12, 86) |
RGB Percent | 32.94, 4.71, 33.73 | rgb(32.94, 4.71, 33.73) |
CMYK | 2, 86, 0, 66 | |
HSL | 298.4°, 75.51, 19.2 | hsl(298.4, 75.51%, 19.2%) |
HSV | 298.4°, 86, 33.7 |
XYZ | 5.467, 2.82, 9.06 |
---|---|
Hunter Lab | 16.793, 28.724, -20.233 |
CIE-LAB | 19.308, 40.817, -26.438 |
CIE-LCH | 19.308, 48.631, 327.068 |
CIE-LUV | 2.33, 86.05, 0, 66.27 |
Web Safe | 660066 |
RGB percent of color #540c56
CMYK percent of color #540c56
Text with hexadecimal color #540c56
This text has a font color of #540c56
<p style="color:#540c56">Text here</p>
#540c56 Background Color
This box has a background color of #540c56
<div style="background-color:#540c56">Text here</div>
#540c56 Border Color
This box has a border color of #540c56
<div style="border: 4px solid #540c56">Text here</div>
CSS codes
<p style="color:#540c56">Text here</p>
<div style="background-color:#540c56">Text here</div>
<div style="border: 4px solid #540c56">Text here</div>
#540c56 Color on white background
This is how a font and box color of #540c56 will look
on a white background.
#540c56 Color on black background
This is how a font and box color of #540c56 hex color will look
on a black background.