In RGB color space, #542c7b hex color has a red value of 84, a green value of 44 and a blue value of 123.
In CMYK color space (used in color printing), #542c7b hex color is composed of 31.71% cyan, 64.23% magenta, 0% yellow and 51.76% black.
#542c7b color has a hue of 270.4 degrees, a saturation of 47.31% and a lightness of 32.7%.
#542c7b hex color contains mainly BLUE.
The closest web safe color of #542c7b is #663366
#542c7b hex color has a decimal value of 5516411.
HEX | 542c7b | #542c7b |
---|---|---|
RGB | 84, 44, 123 | rgb(84, 44, 123) |
RGB Percent | 32.94, 17.25, 48.24 | rgb(32.94, 17.25, 48.24) |
CMYK | 32, 64, 0, 52 | |
HSL | 270.4°, 47.31, 32.7 | hsl(270.4, 47.31%, 32.7%) |
HSV | 270.4°, 64.2, 48.2 |
XYZ | 8.132, 5.116, 19.298 |
---|---|
Hunter Lab | 22.619, 24.593, -34.753 |
CIE-LAB | 27.063, 34.706, -38.097 |
CIE-LCH | 27.063, 51.535, 312.333 |
CIE-LUV | 31.71, 64.23, 0, 51.76 |
Web Safe | 663366 |
RGB percent of color #542c7b
CMYK percent of color #542c7b
Text with hexadecimal color #542c7b
This text has a font color of #542c7b
<p style="color:#542c7b">Text here</p>
#542c7b Background Color
This box has a background color of #542c7b
<div style="background-color:#542c7b">Text here</div>
#542c7b Border Color
This box has a border color of #542c7b
<div style="border: 4px solid #542c7b">Text here</div>
CSS codes
<p style="color:#542c7b">Text here</p>
<div style="background-color:#542c7b">Text here</div>
<div style="border: 4px solid #542c7b">Text here</div>
#542c7b Color on white background
This is how a font and box color of #542c7b will look
on a white background.
#542c7b Color on black background
This is how a font and box color of #542c7b hex color will look
on a black background.