In RGB color space, #540a8b hex color has a red value of 84, a green value of 10 and a blue value of 139.
In CMYK color space (used in color printing), #540a8b hex color is composed of 39.57% cyan, 92.81% magenta, 0% yellow and 45.49% black.
#540a8b color has a hue of 274.4 degrees, a saturation of 86.58% and a lightness of 29.2%.
#540a8b hex color contains mainly BLUE.
The closest web safe color of #540a8b is #660099
#540a8b hex color has a decimal value of 5507723.
HEX | 540a8b | #540a8b |
---|---|---|
RGB | 84, 10, 139 | rgb(84, 10, 139) |
RGB Percent | 32.94, 3.92, 54.51 | rgb(32.94, 3.92, 54.51) |
CMYK | 40, 93, 0, 45 | |
HSL | 274.4°, 86.58, 29.2 | hsl(274.4, 86.58%, 29.2%) |
HSV | 274.4°, 92.8, 54.5 |
XYZ | 8.425, 3.966, 24.748 |
---|---|
Hunter Lab | 19.915, 40.664, -59.739 |
CIE-LAB | 23.559, 52.424, -53.851 |
CIE-LCH | 23.559, 75.155, 314.231 |
CIE-LUV | 39.57, 92.81, 0, 45.49 |
Web Safe | 660099 |
RGB percent of color #540a8b
CMYK percent of color #540a8b
Text with hexadecimal color #540a8b
This text has a font color of #540a8b
<p style="color:#540a8b">Text here</p>
#540a8b Background Color
This box has a background color of #540a8b
<div style="background-color:#540a8b">Text here</div>
#540a8b Border Color
This box has a border color of #540a8b
<div style="border: 4px solid #540a8b">Text here</div>
CSS codes
<p style="color:#540a8b">Text here</p>
<div style="background-color:#540a8b">Text here</div>
<div style="border: 4px solid #540a8b">Text here</div>
#540a8b Color on white background
This is how a font and box color of #540a8b will look
on a white background.
#540a8b Color on black background
This is how a font and box color of #540a8b hex color will look
on a black background.