In RGB color space, #540c8c hex color has a red value of 84, a green value of 12 and a blue value of 140.
In CMYK color space (used in color printing), #540c8c hex color is composed of 40% cyan, 91.43% magenta, 0% yellow and 45.1% black.
#540c8c color has a hue of 273.8 degrees, a saturation of 84.21% and a lightness of 29.8%.
#540c8c hex color contains mainly BLUE.
The closest web safe color of #540c8c is #660099
#540c8c hex color has a decimal value of 5508236.
HEX | 540c8c | #540c8c |
---|---|---|
RGB | 84, 12, 140 | rgb(84, 12, 140) |
RGB Percent | 32.94, 4.71, 54.9 | rgb(32.94, 4.71, 54.9) |
CMYK | 40, 91, 0, 45 | |
HSL | 273.8°, 84.21, 29.8 | hsl(273.8, 84.21%, 29.8%) |
HSV | 273.8°, 91.4, 54.9 |
XYZ | 8.521, 4.041, 25.142 |
---|---|
Hunter Lab | 20.102, 40.484, -60.083 |
CIE-LAB | 23.807, 52.2, -54.068 |
CIE-LCH | 23.807, 75.154, 313.993 |
CIE-LUV | 40, 91.43, 0, 45.1 |
Web Safe | 660099 |
RGB percent of color #540c8c
CMYK percent of color #540c8c
Text with hexadecimal color #540c8c
This text has a font color of #540c8c
<p style="color:#540c8c">Text here</p>
#540c8c Background Color
This box has a background color of #540c8c
<div style="background-color:#540c8c">Text here</div>
#540c8c Border Color
This box has a border color of #540c8c
<div style="border: 4px solid #540c8c">Text here</div>
CSS codes
<p style="color:#540c8c">Text here</p>
<div style="background-color:#540c8c">Text here</div>
<div style="border: 4px solid #540c8c">Text here</div>
#540c8c Color on white background
This is how a font and box color of #540c8c will look
on a white background.
#540c8c Color on black background
This is how a font and box color of #540c8c hex color will look
on a black background.