In RGB color space, #540c9e hex color has a red value of 84, a green value of 12 and a blue value of 158.
In CMYK color space (used in color printing), #540c9e hex color is composed of 46.84% cyan, 92.41% magenta, 0% yellow and 38.04% black.
#540c9e color has a hue of 269.6 degrees, a saturation of 85.88% and a lightness of 33.3%.
#540c9e hex color contains mainly BLUE.
The closest web safe color of #540c9e is #660099
#540c9e hex color has a decimal value of 5508254.
HEX | 540c9e | #540c9e |
---|---|---|
RGB | 84, 12, 158 | rgb(84, 12, 158) |
RGB Percent | 32.94, 4.71, 61.96 | rgb(32.94, 4.71, 61.96) |
CMYK | 47, 92, 0, 38 | |
HSL | 269.6°, 85.88, 33.3 | hsl(269.6, 85.88%, 33.3%) |
HSV | 269.6°, 92.4, 62 |
XYZ | 9.959, 4.616, 32.714 |
---|---|
Hunter Lab | 21.485, 45.143, -75.239 |
CIE-LAB | 25.611, 56.36, -62.21 |
CIE-LCH | 25.611, 83.944, 312.175 |
CIE-LUV | 46.84, 92.41, 0, 38.04 |
Web Safe | 660099 |
RGB percent of color #540c9e
CMYK percent of color #540c9e
Text with hexadecimal color #540c9e
This text has a font color of #540c9e
<p style="color:#540c9e">Text here</p>
#540c9e Background Color
This box has a background color of #540c9e
<div style="background-color:#540c9e">Text here</div>
#540c9e Border Color
This box has a border color of #540c9e
<div style="border: 4px solid #540c9e">Text here</div>
CSS codes
<p style="color:#540c9e">Text here</p>
<div style="background-color:#540c9e">Text here</div>
<div style="border: 4px solid #540c9e">Text here</div>
#540c9e Color on white background
This is how a font and box color of #540c9e will look
on a white background.
#540c9e Color on black background
This is how a font and box color of #540c9e hex color will look
on a black background.