In RGB color space, #540f97 hex color has a red value of 84, a green value of 15 and a blue value of 151.
In CMYK color space (used in color printing), #540f97 hex color is composed of 44.37% cyan, 90.07% magenta, 0% yellow and 40.78% black.
#540f97 color has a hue of 270.4 degrees, a saturation of 81.93% and a lightness of 32.5%.
#540f97 hex color contains mainly BLUE.
The closest web safe color of #540f97 is #660099
#540f97 hex color has a decimal value of 5509015.
HEX | 540f97 | #540f97 |
---|---|---|
RGB | 84, 15, 151 | rgb(84, 15, 151) |
RGB Percent | 32.94, 5.88, 59.22 | rgb(32.94, 5.88, 59.22) |
CMYK | 44, 90, 0, 41 | |
HSL | 270.4°, 81.93, 32.5 | hsl(270.4, 81.93%, 32.5%) |
HSV | 270.4°, 90.1, 59.2 |
XYZ | 9.413, 4.461, 29.643 |
---|---|
Hunter Lab | 21.121, 42.59, -68.428 |
CIE-LAB | 25.14, 54.001, -58.692 |
CIE-LCH | 25.14, 79.755, 312.616 |
CIE-LUV | 44.37, 90.07, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #540f97
CMYK percent of color #540f97
Text with hexadecimal color #540f97
This text has a font color of #540f97
<p style="color:#540f97">Text here</p>
#540f97 Background Color
This box has a background color of #540f97
<div style="background-color:#540f97">Text here</div>
#540f97 Border Color
This box has a border color of #540f97
<div style="border: 4px solid #540f97">Text here</div>
CSS codes
<p style="color:#540f97">Text here</p>
<div style="background-color:#540f97">Text here</div>
<div style="border: 4px solid #540f97">Text here</div>
#540f97 Color on white background
This is how a font and box color of #540f97 will look
on a white background.
#540f97 Color on black background
This is how a font and box color of #540f97 hex color will look
on a black background.