In RGB color space, #540c6a hex color has a red value of 84, a green value of 12 and a blue value of 106.
In CMYK color space (used in color printing), #540c6a hex color is composed of 20.75% cyan, 88.68% magenta, 0% yellow and 58.43% black.
#540c6a color has a hue of 286 degrees, a saturation of 79.66% and a lightness of 23.1%.
#540c6a hex color contains mainly BLUE.
The closest web safe color of #540c6a is #660066
#540c6a hex color has a decimal value of 5508202.
HEX | 540c6a | #540c6a |
---|---|---|
RGB | 84, 12, 106 | rgb(84, 12, 106) |
RGB Percent | 32.94, 4.71, 41.57 | rgb(32.94, 4.71, 41.57) |
CMYK | 21, 89, 0, 58 | |
HSL | 286°, 79.66, 23.1 | hsl(286, 79.66%, 23.1%) |
HSV | 286°, 88.7, 41.6 |
XYZ | 6.389, 3.188, 13.914 |
---|---|
Hunter Lab | 17.855, 32.626, -33.705 |
CIE-LAB | 20.782, 44.757, -37.322 |
CIE-LCH | 20.782, 58.276, 320.176 |
CIE-LUV | 20.75, 88.68, 0, 58.43 |
Web Safe | 660066 |
RGB percent of color #540c6a
CMYK percent of color #540c6a
Text with hexadecimal color #540c6a
This text has a font color of #540c6a
<p style="color:#540c6a">Text here</p>
#540c6a Background Color
This box has a background color of #540c6a
<div style="background-color:#540c6a">Text here</div>
#540c6a Border Color
This box has a border color of #540c6a
<div style="border: 4px solid #540c6a">Text here</div>
CSS codes
<p style="color:#540c6a">Text here</p>
<div style="background-color:#540c6a">Text here</div>
<div style="border: 4px solid #540c6a">Text here</div>
#540c6a Color on white background
This is how a font and box color of #540c6a will look
on a white background.
#540c6a Color on black background
This is how a font and box color of #540c6a hex color will look
on a black background.