In RGB color space, #542fa2 hex color has a red value of 84, a green value of 47 and a blue value of 162.
In CMYK color space (used in color printing), #542fa2 hex color is composed of 48.15% cyan, 70.99% magenta, 0% yellow and 36.47% black.
#542fa2 color has a hue of 259.3 degrees, a saturation of 55.02% and a lightness of 41%.
#542fa2 hex color contains mainly BLUE.
The closest web safe color of #542fa2 is #663399
#542fa2 hex color has a decimal value of 5517218.
HEX | 542fa2 | #542fa2 |
---|---|---|
RGB | 84, 47, 162 | rgb(84, 47, 162) |
RGB Percent | 32.94, 18.43, 63.53 | rgb(32.94, 18.43, 63.53) |
CMYK | 48, 71, 0, 36 | |
HSL | 259.3°, 55.02, 41 | hsl(259.3, 55.02%, 41%) |
HSV | 259.3°, 71, 63.5 |
XYZ | 11.194, 6.526, 34.852 |
---|---|
Hunter Lab | 25.546, 33.511, -63.006 |
CIE-LAB | 30.703, 43.782, -56.289 |
CIE-LCH | 30.703, 71.311, 307.876 |
CIE-LUV | 48.15, 70.99, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #542fa2
CMYK percent of color #542fa2
Text with hexadecimal color #542fa2
This text has a font color of #542fa2
<p style="color:#542fa2">Text here</p>
#542fa2 Background Color
This box has a background color of #542fa2
<div style="background-color:#542fa2">Text here</div>
#542fa2 Border Color
This box has a border color of #542fa2
<div style="border: 4px solid #542fa2">Text here</div>
CSS codes
<p style="color:#542fa2">Text here</p>
<div style="background-color:#542fa2">Text here</div>
<div style="border: 4px solid #542fa2">Text here</div>
#542fa2 Color on white background
This is how a font and box color of #542fa2 will look
on a white background.
#542fa2 Color on black background
This is how a font and box color of #542fa2 hex color will look
on a black background.