In RGB color space, #542d9c hex color has a red value of 84, a green value of 45 and a blue value of 156.
In CMYK color space (used in color printing), #542d9c hex color is composed of 46.15% cyan, 71.15% magenta, 0% yellow and 38.82% black.
#542d9c color has a hue of 261.1 degrees, a saturation of 55.22% and a lightness of 39.4%.
#542d9c hex color contains mainly BLUE.
The closest web safe color of #542d9c is #663399
#542d9c hex color has a decimal value of 5516700.
HEX | 542d9c | #542d9c |
---|---|---|
RGB | 84, 45, 156 | rgb(84, 45, 156) |
RGB Percent | 32.94, 17.65, 61.18 | rgb(32.94, 17.65, 61.18) |
CMYK | 46, 71, 0, 39 | |
HSL | 261.1°, 55.22, 39.4 | hsl(261.1, 55.22%, 39.4%) |
HSV | 261.1°, 71.2, 61.2 |
XYZ | 10.595, 6.162, 32.083 |
---|---|
Hunter Lab | 24.823, 32.746, -59.253 |
CIE-LAB | 29.818, 43.145, -54.091 |
CIE-LCH | 29.818, 69.191, 308.577 |
CIE-LUV | 46.15, 71.15, 0, 38.82 |
Web Safe | 663399 |
RGB percent of color #542d9c
CMYK percent of color #542d9c
Text with hexadecimal color #542d9c
This text has a font color of #542d9c
<p style="color:#542d9c">Text here</p>
#542d9c Background Color
This box has a background color of #542d9c
<div style="background-color:#542d9c">Text here</div>
#542d9c Border Color
This box has a border color of #542d9c
<div style="border: 4px solid #542d9c">Text here</div>
CSS codes
<p style="color:#542d9c">Text here</p>
<div style="background-color:#542d9c">Text here</div>
<div style="border: 4px solid #542d9c">Text here</div>
#542d9c Color on white background
This is how a font and box color of #542d9c will look
on a white background.
#542d9c Color on black background
This is how a font and box color of #542d9c hex color will look
on a black background.