In RGB color space, #542ea2 hex color has a red value of 84, a green value of 46 and a blue value of 162.
In CMYK color space (used in color printing), #542ea2 hex color is composed of 48.15% cyan, 71.6% magenta, 0% yellow and 36.47% black.
#542ea2 color has a hue of 259.7 degrees, a saturation of 55.77% and a lightness of 40.8%.
#542ea2 hex color contains mainly BLUE.
The closest web safe color of #542ea2 is #663399
#542ea2 hex color has a decimal value of 5516962.
HEX | 542ea2 | #542ea2 |
---|---|---|
RGB | 84, 46, 162 | rgb(84, 46, 162) |
RGB Percent | 32.94, 18.04, 63.53 | rgb(32.94, 18.04, 63.53) |
CMYK | 48, 72, 0, 36 | |
HSL | 259.7°, 55.77, 40.8 | hsl(259.7, 55.77%, 40.8%) |
HSV | 259.7°, 71.6, 63.5 |
XYZ | 11.155, 6.447, 34.839 |
---|---|
Hunter Lab | 25.391, 33.986, -63.578 |
CIE-LAB | 30.513, 44.313, -56.598 |
CIE-LCH | 30.513, 71.882, 308.059 |
CIE-LUV | 48.15, 71.6, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #542ea2
CMYK percent of color #542ea2
Text with hexadecimal color #542ea2
This text has a font color of #542ea2
<p style="color:#542ea2">Text here</p>
#542ea2 Background Color
This box has a background color of #542ea2
<div style="background-color:#542ea2">Text here</div>
#542ea2 Border Color
This box has a border color of #542ea2
<div style="border: 4px solid #542ea2">Text here</div>
CSS codes
<p style="color:#542ea2">Text here</p>
<div style="background-color:#542ea2">Text here</div>
<div style="border: 4px solid #542ea2">Text here</div>
#542ea2 Color on white background
This is how a font and box color of #542ea2 will look
on a white background.
#542ea2 Color on black background
This is how a font and box color of #542ea2 hex color will look
on a black background.