In RGB color space, #540b8a hex color has a red value of 84, a green value of 11 and a blue value of 138.
In CMYK color space (used in color printing), #540b8a hex color is composed of 39.13% cyan, 92.03% magenta, 0% yellow and 45.88% black.
#540b8a color has a hue of 274.5 degrees, a saturation of 85.23% and a lightness of 29.2%.
#540b8a hex color contains mainly BLUE.
The closest web safe color of #540b8a is #660099
#540b8a hex color has a decimal value of 5507978.
HEX | 540b8a | #540b8a |
---|---|---|
RGB | 84, 11, 138 | rgb(84, 11, 138) |
RGB Percent | 32.94, 4.31, 54.12 | rgb(32.94, 4.31, 54.12) |
CMYK | 39, 92, 0, 46 | |
HSL | 274.5°, 85.23, 29.2 | hsl(274.5, 85.23%, 29.2%) |
HSV | 274.5°, 92, 54.1 |
XYZ | 8.363, 3.959, 24.368 |
---|---|
Hunter Lab | 19.897, 40.205, -58.684 |
CIE-LAB | 23.535, 51.977, -53.263 |
CIE-LCH | 23.535, 74.421, 314.3 |
CIE-LUV | 39.13, 92.03, 0, 45.88 |
Web Safe | 660099 |
RGB percent of color #540b8a
CMYK percent of color #540b8a
Text with hexadecimal color #540b8a
This text has a font color of #540b8a
<p style="color:#540b8a">Text here</p>
#540b8a Background Color
This box has a background color of #540b8a
<div style="background-color:#540b8a">Text here</div>
#540b8a Border Color
This box has a border color of #540b8a
<div style="border: 4px solid #540b8a">Text here</div>
CSS codes
<p style="color:#540b8a">Text here</p>
<div style="background-color:#540b8a">Text here</div>
<div style="border: 4px solid #540b8a">Text here</div>
#540b8a Color on white background
This is how a font and box color of #540b8a will look
on a white background.
#540b8a Color on black background
This is how a font and box color of #540b8a hex color will look
on a black background.