In RGB color space, #542e8a hex color has a red value of 84, a green value of 46 and a blue value of 138.
In CMYK color space (used in color printing), #542e8a hex color is composed of 39.13% cyan, 66.67% magenta, 0% yellow and 45.88% black.
#542e8a color has a hue of 264.8 degrees, a saturation of 50% and a lightness of 36.1%.
#542e8a hex color contains mainly BLUE.
The closest web safe color of #542e8a is #663399
#542e8a hex color has a decimal value of 5516938.
HEX | 542e8a | #542e8a |
---|---|---|
RGB | 84, 46, 138 | rgb(84, 46, 138) |
RGB Percent | 32.94, 18.04, 54.12 | rgb(32.94, 18.04, 54.12) |
CMYK | 39, 67, 0, 46 | |
HSL | 264.8°, 50, 36.1 | hsl(264.8, 50%, 36.1%) |
HSV | 264.8°, 66.7, 54.1 |
XYZ | 9.221, 5.674, 24.654 |
---|---|
Hunter Lab | 23.82, 27.414, -44.691 |
CIE-LAB | 28.575, 37.615, -45.048 |
CIE-LCH | 28.575, 58.687, 309.862 |
CIE-LUV | 39.13, 66.67, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #542e8a
CMYK percent of color #542e8a
Text with hexadecimal color #542e8a
This text has a font color of #542e8a
<p style="color:#542e8a">Text here</p>
#542e8a Background Color
This box has a background color of #542e8a
<div style="background-color:#542e8a">Text here</div>
#542e8a Border Color
This box has a border color of #542e8a
<div style="border: 4px solid #542e8a">Text here</div>
CSS codes
<p style="color:#542e8a">Text here</p>
<div style="background-color:#542e8a">Text here</div>
<div style="border: 4px solid #542e8a">Text here</div>
#542e8a Color on white background
This is how a font and box color of #542e8a will look
on a white background.
#542e8a Color on black background
This is how a font and box color of #542e8a hex color will look
on a black background.