In RGB color space, #542cb2 hex color has a red value of 84, a green value of 44 and a blue value of 178.
In CMYK color space (used in color printing), #542cb2 hex color is composed of 52.81% cyan, 75.28% magenta, 0% yellow and 30.2% black.
#542cb2 color has a hue of 257.9 degrees, a saturation of 60.36% and a lightness of 43.5%.
#542cb2 hex color contains mainly BLUE.
The closest web safe color of #542cb2 is #663399
#542cb2 hex color has a decimal value of 5516466.
HEX | 542cb2 | #542cb2 |
---|---|---|
RGB | 84, 44, 178 | rgb(84, 44, 178) |
RGB Percent | 32.94, 17.25, 69.8 | rgb(32.94, 17.25, 69.8) |
CMYK | 53, 75, 0, 30 | |
HSL | 257.9°, 60.36, 43.5 | hsl(257.9, 60.36%, 43.5%) |
HSV | 257.9°, 75.3, 69.8 |
XYZ | 12.593, 6.901, 42.788 |
---|---|
Hunter Lab | 26.27, 39.596, -78.182 |
CIE-LAB | 31.58, 49.81, -64.458 |
CIE-LCH | 31.58, 81.461, 307.695 |
CIE-LUV | 52.81, 75.28, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #542cb2
CMYK percent of color #542cb2
Text with hexadecimal color #542cb2
This text has a font color of #542cb2
<p style="color:#542cb2">Text here</p>
#542cb2 Background Color
This box has a background color of #542cb2
<div style="background-color:#542cb2">Text here</div>
#542cb2 Border Color
This box has a border color of #542cb2
<div style="border: 4px solid #542cb2">Text here</div>
CSS codes
<p style="color:#542cb2">Text here</p>
<div style="background-color:#542cb2">Text here</div>
<div style="border: 4px solid #542cb2">Text here</div>
#542cb2 Color on white background
This is how a font and box color of #542cb2 will look
on a white background.
#542cb2 Color on black background
This is how a font and box color of #542cb2 hex color will look
on a black background.