In RGB color space, #542d8c hex color has a red value of 84, a green value of 45 and a blue value of 140.
In CMYK color space (used in color printing), #542d8c hex color is composed of 40% cyan, 67.86% magenta, 0% yellow and 45.1% black.
#542d8c color has a hue of 264.6 degrees, a saturation of 51.35% and a lightness of 36.3%.
#542d8c hex color contains mainly BLUE.
The closest web safe color of #542d8c is #663399
#542d8c hex color has a decimal value of 5516684.
HEX | 542d8c | #542d8c |
---|---|---|
RGB | 84, 45, 140 | rgb(84, 45, 140) |
RGB Percent | 32.94, 17.65, 54.9 | rgb(32.94, 17.65, 54.9) |
CMYK | 40, 68, 0, 45 | |
HSL | 264.6°, 51.35, 36.3 | hsl(264.6, 51.35%, 36.3%) |
HSV | 264.6°, 67.9, 54.9 |
XYZ | 9.328, 5.655, 25.411 |
---|---|
Hunter Lab | 23.78, 28.403, -46.71 |
CIE-LAB | 28.525, 38.715, -46.369 |
CIE-LCH | 28.525, 60.406, 309.86 |
CIE-LUV | 40, 67.86, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #542d8c
CMYK percent of color #542d8c
Text with hexadecimal color #542d8c
This text has a font color of #542d8c
<p style="color:#542d8c">Text here</p>
#542d8c Background Color
This box has a background color of #542d8c
<div style="background-color:#542d8c">Text here</div>
#542d8c Border Color
This box has a border color of #542d8c
<div style="border: 4px solid #542d8c">Text here</div>
CSS codes
<p style="color:#542d8c">Text here</p>
<div style="background-color:#542d8c">Text here</div>
<div style="border: 4px solid #542d8c">Text here</div>
#542d8c Color on white background
This is how a font and box color of #542d8c will look
on a white background.
#542d8c Color on black background
This is how a font and box color of #542d8c hex color will look
on a black background.