In RGB color space, #540cac hex color has a red value of 84, a green value of 12 and a blue value of 172.
In CMYK color space (used in color printing), #540cac hex color is composed of 51.16% cyan, 93.02% magenta, 0% yellow and 32.55% black.
#540cac color has a hue of 267 degrees, a saturation of 86.96% and a lightness of 36.1%.
#540cac hex color contains mainly BLUE.
The closest web safe color of #540cac is #660099
#540cac hex color has a decimal value of 5508268.
HEX | 540cac | #540cac |
---|---|---|
RGB | 84, 12, 172 | rgb(84, 12, 172) |
RGB Percent | 32.94, 4.71, 67.45 | rgb(32.94, 4.71, 67.45) |
CMYK | 51, 93, 0, 33 | |
HSL | 267°, 86.96, 36.1 | hsl(267, 86.96%, 36.1%) |
HSV | 267°, 93, 67.5 |
XYZ | 11.234, 5.126, 39.427 |
---|---|
Hunter Lab | 22.641, 48.948, -87.401 |
CIE-LAB | 27.091, 59.642, -68.258 |
CIE-LCH | 27.091, 90.644, 311.146 |
CIE-LUV | 51.16, 93.02, 0, 32.55 |
Web Safe | 660099 |
RGB percent of color #540cac
CMYK percent of color #540cac
Text with hexadecimal color #540cac
This text has a font color of #540cac
<p style="color:#540cac">Text here</p>
#540cac Background Color
This box has a background color of #540cac
<div style="background-color:#540cac">Text here</div>
#540cac Border Color
This box has a border color of #540cac
<div style="border: 4px solid #540cac">Text here</div>
CSS codes
<p style="color:#540cac">Text here</p>
<div style="background-color:#540cac">Text here</div>
<div style="border: 4px solid #540cac">Text here</div>
#540cac Color on white background
This is how a font and box color of #540cac will look
on a white background.
#540cac Color on black background
This is how a font and box color of #540cac hex color will look
on a black background.