In RGB color space, #542ea6 hex color has a red value of 84, a green value of 46 and a blue value of 166.
In CMYK color space (used in color printing), #542ea6 hex color is composed of 49.4% cyan, 72.29% magenta, 0% yellow and 34.9% black.
#542ea6 color has a hue of 259 degrees, a saturation of 56.6% and a lightness of 41.6%.
#542ea6 hex color contains mainly BLUE.
The closest web safe color of #542ea6 is #663399
#542ea6 hex color has a decimal value of 5516966.
HEX | 542ea6 | #542ea6 |
---|---|---|
RGB | 84, 46, 166 | rgb(84, 46, 166) |
RGB Percent | 32.94, 18.04, 65.1 | rgb(32.94, 18.04, 65.1) |
CMYK | 49, 72, 0, 35 | |
HSL | 259°, 56.6, 41.6 | hsl(259, 56.6%, 41.6%) |
HSV | 259°, 72.3, 65.1 |
XYZ | 11.516, 6.592, 36.742 |
---|---|
Hunter Lab | 25.675, 35.132, -66.874 |
CIE-LAB | 30.859, 45.434, -58.448 |
CIE-LCH | 30.859, 74.03, 307.859 |
CIE-LUV | 49.4, 72.29, 0, 34.9 |
Web Safe | 663399 |
RGB percent of color #542ea6
CMYK percent of color #542ea6
Text with hexadecimal color #542ea6
This text has a font color of #542ea6
<p style="color:#542ea6">Text here</p>
#542ea6 Background Color
This box has a background color of #542ea6
<div style="background-color:#542ea6">Text here</div>
#542ea6 Border Color
This box has a border color of #542ea6
<div style="border: 4px solid #542ea6">Text here</div>
CSS codes
<p style="color:#542ea6">Text here</p>
<div style="background-color:#542ea6">Text here</div>
<div style="border: 4px solid #542ea6">Text here</div>
#542ea6 Color on white background
This is how a font and box color of #542ea6 will look
on a white background.
#542ea6 Color on black background
This is how a font and box color of #542ea6 hex color will look
on a black background.