In RGB color space, #540768 hex color has a red value of 84, a green value of 7 and a blue value of 104.
In CMYK color space (used in color printing), #540768 hex color is composed of 19.23% cyan, 93.27% magenta, 0% yellow and 59.22% black.
#540768 color has a hue of 287.6 degrees, a saturation of 87.39% and a lightness of 21.8%.
#540768 hex color contains mainly BLUE.
The closest web safe color of #540768 is #660066
#540768 hex color has a decimal value of 5506920.
HEX | 540768 | #540768 |
---|---|---|
RGB | 84, 7, 104 | rgb(84, 7, 104) |
RGB Percent | 32.94, 2.75, 40.78 | rgb(32.94, 2.75, 40.78) |
CMYK | 19, 93, 0, 59 | |
HSL | 287.6°, 87.39, 21.8 | hsl(287.6, 87.39%, 21.8%) |
HSV | 287.6°, 93.3, 40.8 |
XYZ | 6.231, 3.036, 13.354 |
---|---|
Hunter Lab | 17.424, 33.341, -33.243 |
CIE-LAB | 20.187, 45.628, -36.976 |
CIE-LCH | 20.187, 58.729, 320.979 |
CIE-LUV | 19.23, 93.27, 0, 59.22 |
Web Safe | 660066 |
RGB percent of color #540768
CMYK percent of color #540768
Text with hexadecimal color #540768
This text has a font color of #540768
<p style="color:#540768">Text here</p>
#540768 Background Color
This box has a background color of #540768
<div style="background-color:#540768">Text here</div>
#540768 Border Color
This box has a border color of #540768
<div style="border: 4px solid #540768">Text here</div>
CSS codes
<p style="color:#540768">Text here</p>
<div style="background-color:#540768">Text here</div>
<div style="border: 4px solid #540768">Text here</div>
#540768 Color on white background
This is how a font and box color of #540768 will look
on a white background.
#540768 Color on black background
This is how a font and box color of #540768 hex color will look
on a black background.