In RGB color space, #542d78 hex color has a red value of 84, a green value of 45 and a blue value of 120.
In CMYK color space (used in color printing), #542d78 hex color is composed of 30% cyan, 62.5% magenta, 0% yellow and 52.94% black.
#542d78 color has a hue of 271.2 degrees, a saturation of 45.45% and a lightness of 32.4%.
#542d78 hex color contains mainly BLUE.
The closest web safe color of #542d78 is #663366
#542d78 hex color has a decimal value of 5516664.
HEX | 542d78 | #542d78 |
---|---|---|
RGB | 84, 45, 120 | rgb(84, 45, 120) |
RGB Percent | 32.94, 17.65, 47.06 | rgb(32.94, 17.65, 47.06) |
CMYK | 30, 63, 0, 53 | |
HSL | 271.2°, 45.45, 32.4 | hsl(271.2, 45.45%, 32.4%) |
HSV | 271.2°, 62.5, 47.1 |
XYZ | 7.985, 5.118, 18.336 |
---|---|
Hunter Lab | 22.623, 23.413, -32.219 |
CIE-LAB | 27.068, 33.346, -36.189 |
CIE-LCH | 27.068, 49.21, 312.659 |
CIE-LUV | 30, 62.5, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #542d78
CMYK percent of color #542d78
Text with hexadecimal color #542d78
This text has a font color of #542d78
<p style="color:#542d78">Text here</p>
#542d78 Background Color
This box has a background color of #542d78
<div style="background-color:#542d78">Text here</div>
#542d78 Border Color
This box has a border color of #542d78
<div style="border: 4px solid #542d78">Text here</div>
CSS codes
<p style="color:#542d78">Text here</p>
<div style="background-color:#542d78">Text here</div>
<div style="border: 4px solid #542d78">Text here</div>
#542d78 Color on white background
This is how a font and box color of #542d78 will look
on a white background.
#542d78 Color on black background
This is how a font and box color of #542d78 hex color will look
on a black background.