In RGB color space, #542cb4 hex color has a red value of 84, a green value of 44 and a blue value of 180.
In CMYK color space (used in color printing), #542cb4 hex color is composed of 53.33% cyan, 75.56% magenta, 0% yellow and 29.41% black.
#542cb4 color has a hue of 257.6 degrees, a saturation of 60.71% and a lightness of 43.9%.
#542cb4 hex color contains mainly BLUE.
The closest web safe color of #542cb4 is #6633cc
#542cb4 hex color has a decimal value of 5516468.
HEX | 542cb4 | #542cb4 |
---|---|---|
RGB | 84, 44, 180 | rgb(84, 44, 180) |
RGB Percent | 32.94, 17.25, 70.59 | rgb(32.94, 17.25, 70.59) |
CMYK | 53, 76, 0, 29 | |
HSL | 257.6°, 60.71, 43.9 | hsl(257.6, 60.71%, 43.9%) |
HSV | 257.6°, 75.6, 70.6 |
XYZ | 12.795, 6.981, 43.853 |
---|---|
Hunter Lab | 26.422, 40.203, -79.911 |
CIE-LAB | 31.764, 50.376, -65.348 |
CIE-LCH | 31.764, 82.511, 307.628 |
CIE-LUV | 53.33, 75.56, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #542cb4
CMYK percent of color #542cb4
Text with hexadecimal color #542cb4
This text has a font color of #542cb4
<p style="color:#542cb4">Text here</p>
#542cb4 Background Color
This box has a background color of #542cb4
<div style="background-color:#542cb4">Text here</div>
#542cb4 Border Color
This box has a border color of #542cb4
<div style="border: 4px solid #542cb4">Text here</div>
CSS codes
<p style="color:#542cb4">Text here</p>
<div style="background-color:#542cb4">Text here</div>
<div style="border: 4px solid #542cb4">Text here</div>
#542cb4 Color on white background
This is how a font and box color of #542cb4 will look
on a white background.
#542cb4 Color on black background
This is how a font and box color of #542cb4 hex color will look
on a black background.