In RGB color space, #540c97 hex color has a red value of 84, a green value of 12 and a blue value of 151.
In CMYK color space (used in color printing), #540c97 hex color is composed of 44.37% cyan, 92.05% magenta, 0% yellow and 40.78% black.
#540c97 color has a hue of 271.1 degrees, a saturation of 85.28% and a lightness of 32%.
#540c97 hex color contains mainly BLUE.
The closest web safe color of #540c97 is #660099
#540c97 hex color has a decimal value of 5508247.
HEX | 540c97 | #540c97 |
---|---|---|
RGB | 84, 12, 151 | rgb(84, 12, 151) |
RGB Percent | 32.94, 4.71, 59.22 | rgb(32.94, 4.71, 59.22) |
CMYK | 44, 92, 0, 41 | |
HSL | 271.1°, 85.28, 32 | hsl(271.1, 85.28%, 32%) |
HSV | 271.1°, 92.1, 59.2 |
XYZ | 9.374, 4.382, 29.63 |
---|---|
Hunter Lab | 20.933, 43.3, -69.269 |
CIE-LAB | 24.896, 54.734, -59.094 |
CIE-LCH | 24.896, 80.548, 312.806 |
CIE-LUV | 44.37, 92.05, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #540c97
CMYK percent of color #540c97
Text with hexadecimal color #540c97
This text has a font color of #540c97
<p style="color:#540c97">Text here</p>
#540c97 Background Color
This box has a background color of #540c97
<div style="background-color:#540c97">Text here</div>
#540c97 Border Color
This box has a border color of #540c97
<div style="border: 4px solid #540c97">Text here</div>
CSS codes
<p style="color:#540c97">Text here</p>
<div style="background-color:#540c97">Text here</div>
<div style="border: 4px solid #540c97">Text here</div>
#540c97 Color on white background
This is how a font and box color of #540c97 will look
on a white background.
#540c97 Color on black background
This is how a font and box color of #540c97 hex color will look
on a black background.