In RGB color space, #540868 hex color has a red value of 84, a green value of 8 and a blue value of 104.
In CMYK color space (used in color printing), #540868 hex color is composed of 19.23% cyan, 92.31% magenta, 0% yellow and 59.22% black.
#540868 color has a hue of 287.5 degrees, a saturation of 85.71% and a lightness of 22%.
#540868 hex color contains mainly BLUE.
The closest web safe color of #540868 is #660066
#540868 hex color has a decimal value of 5507176.
HEX | 540868 | #540868 |
---|---|---|
RGB | 84, 8, 104 | rgb(84, 8, 104) |
RGB Percent | 32.94, 3.14, 40.78 | rgb(32.94, 3.14, 40.78) |
CMYK | 19, 92, 0, 59 | |
HSL | 287.5°, 85.71, 22 | hsl(287.5, 85.71%, 22%) |
HSV | 287.5°, 92.3, 40.8 |
XYZ | 6.242, 3.058, 13.358 |
---|---|
Hunter Lab | 17.487, 33.113, -33.049 |
CIE-LAB | 20.275, 45.371, -36.835 |
CIE-LCH | 20.275, 58.441, 320.928 |
CIE-LUV | 19.23, 92.31, 0, 59.22 |
Web Safe | 660066 |
RGB percent of color #540868
CMYK percent of color #540868
Text with hexadecimal color #540868
This text has a font color of #540868
<p style="color:#540868">Text here</p>
#540868 Background Color
This box has a background color of #540868
<div style="background-color:#540868">Text here</div>
#540868 Border Color
This box has a border color of #540868
<div style="border: 4px solid #540868">Text here</div>
CSS codes
<p style="color:#540868">Text here</p>
<div style="background-color:#540868">Text here</div>
<div style="border: 4px solid #540868">Text here</div>
#540868 Color on white background
This is how a font and box color of #540868 will look
on a white background.
#540868 Color on black background
This is how a font and box color of #540868 hex color will look
on a black background.