In RGB color space, #540048 hex color has a red value of 84, a green value of 0 and a blue value of 72.
In CMYK color space (used in color printing), #540048 hex color is composed of 0% cyan, 100% magenta, 14.29% yellow and 67.06% black.
#540048 color has a hue of 308.6 degrees, a saturation of 100% and a lightness of 16.5%.
#540048 hex color contains mainly RED.
The closest web safe color of #540048 is #660033
#540048 hex color has a decimal value of 5505096.
HEX | 540048 | #540048 |
---|---|---|
RGB | 84, 0, 72 | rgb(84, 0, 72) |
RGB Percent | 32.94, 0, 28.24 | rgb(32.94, 0, 28.24) |
CMYK | 0, 100, 14, 67 | |
HSL | 308.6°, 100, 16.5 | hsl(308.6, 100%, 16.5%) |
HSV | 308.6°, 100, 32.9 |
XYZ | 4.826, 2.353, 6.331 |
---|---|
Hunter Lab | 15.339, 29.314, -13.733 |
CIE-LAB | 17.24, 41.871, -20.171 |
CIE-LCH | 17.24, 46.476, 334.278 |
CIE-LUV | 0, 100, 14.29, 67.06 |
Web Safe | 660033 |
RGB percent of color #540048
CMYK percent of color #540048
Text with hexadecimal color #540048
This text has a font color of #540048
<p style="color:#540048">Text here</p>
#540048 Background Color
This box has a background color of #540048
<div style="background-color:#540048">Text here</div>
#540048 Border Color
This box has a border color of #540048
<div style="border: 4px solid #540048">Text here</div>
CSS codes
<p style="color:#540048">Text here</p>
<div style="background-color:#540048">Text here</div>
<div style="border: 4px solid #540048">Text here</div>
#540048 Color on white background
This is how a font and box color of #540048 will look
on a white background.
#540048 Color on black background
This is how a font and box color of #540048 hex color will look
on a black background.