In RGB color space, #540c9b hex color has a red value of 84, a green value of 12 and a blue value of 155.
In CMYK color space (used in color printing), #540c9b hex color is composed of 45.81% cyan, 92.26% magenta, 0% yellow and 39.22% black.
#540c9b color has a hue of 270.2 degrees, a saturation of 85.63% and a lightness of 32.7%.
#540c9b hex color contains mainly BLUE.
The closest web safe color of #540c9b is #660099
#540c9b hex color has a decimal value of 5508251.
HEX | 540c9b | #540c9b |
---|---|---|
RGB | 84, 12, 155 | rgb(84, 12, 155) |
RGB Percent | 32.94, 4.71, 60.78 | rgb(32.94, 4.71, 60.78) |
CMYK | 46, 92, 0, 39 | |
HSL | 270.2°, 85.63, 32.7 | hsl(270.2, 85.63%, 32.7%) |
HSV | 270.2°, 92.3, 60.8 |
XYZ | 9.704, 4.514, 31.37 |
---|---|
Hunter Lab | 21.246, 44.347, -72.669 |
CIE-LAB | 25.303, 55.661, -60.882 |
CIE-LCH | 25.303, 82.491, 312.435 |
CIE-LUV | 45.81, 92.26, 0, 39.22 |
Web Safe | 660099 |
RGB percent of color #540c9b
CMYK percent of color #540c9b
Text with hexadecimal color #540c9b
This text has a font color of #540c9b
<p style="color:#540c9b">Text here</p>
#540c9b Background Color
This box has a background color of #540c9b
<div style="background-color:#540c9b">Text here</div>
#540c9b Border Color
This box has a border color of #540c9b
<div style="border: 4px solid #540c9b">Text here</div>
CSS codes
<p style="color:#540c9b">Text here</p>
<div style="background-color:#540c9b">Text here</div>
<div style="border: 4px solid #540c9b">Text here</div>
#540c9b Color on white background
This is how a font and box color of #540c9b will look
on a white background.
#540c9b Color on black background
This is how a font and box color of #540c9b hex color will look
on a black background.