In RGB color space, #542f7c hex color has a red value of 84, a green value of 47 and a blue value of 124.
In CMYK color space (used in color printing), #542f7c hex color is composed of 32.26% cyan, 62.1% magenta, 0% yellow and 51.37% black.
#542f7c color has a hue of 268.8 degrees, a saturation of 45.03% and a lightness of 33.5%.
#542f7c hex color contains mainly BLUE.
The closest web safe color of #542f7c is #663366
#542f7c hex color has a decimal value of 5517180.
HEX | 542f7c | #542f7c |
---|---|---|
RGB | 84, 47, 124 | rgb(84, 47, 124) |
RGB Percent | 32.94, 18.43, 48.63 | rgb(32.94, 18.43, 48.63) |
CMYK | 32, 62, 0, 51 | |
HSL | 268.8°, 45.03, 33.5 | hsl(268.8, 45.03%, 33.5%) |
HSV | 268.8°, 62.1, 48.6 |
XYZ | 8.311, 5.373, 19.668 |
---|---|
Hunter Lab | 23.18, 23.436, -34.082 |
CIE-LAB | 27.772, 33.253, -37.588 |
CIE-LCH | 27.772, 50.186, 311.498 |
CIE-LUV | 32.26, 62.1, 0, 51.37 |
Web Safe | 663366 |
RGB percent of color #542f7c
CMYK percent of color #542f7c
Text with hexadecimal color #542f7c
This text has a font color of #542f7c
<p style="color:#542f7c">Text here</p>
#542f7c Background Color
This box has a background color of #542f7c
<div style="background-color:#542f7c">Text here</div>
#542f7c Border Color
This box has a border color of #542f7c
<div style="border: 4px solid #542f7c">Text here</div>
CSS codes
<p style="color:#542f7c">Text here</p>
<div style="background-color:#542f7c">Text here</div>
<div style="border: 4px solid #542f7c">Text here</div>
#542f7c Color on white background
This is how a font and box color of #542f7c will look
on a white background.
#542f7c Color on black background
This is how a font and box color of #542f7c hex color will look
on a black background.