In RGB color space, #542e9a hex color has a red value of 84, a green value of 46 and a blue value of 154.
In CMYK color space (used in color printing), #542e9a hex color is composed of 45.45% cyan, 70.13% magenta, 0% yellow and 39.61% black.
#542e9a color has a hue of 261.1 degrees, a saturation of 54% and a lightness of 39.2%.
#542e9a hex color contains mainly BLUE.
The closest web safe color of #542e9a is #663399
#542e9a hex color has a decimal value of 5516954.
HEX | 542e9a | #542e9a |
---|---|---|
RGB | 84, 46, 154 | rgb(84, 46, 154) |
RGB Percent | 32.94, 18.04, 60.39 | rgb(32.94, 18.04, 60.39) |
CMYK | 45, 70, 0, 40 | |
HSL | 261.1°, 54, 39.2 | hsl(261.1, 54%, 39.2%) |
HSV | 261.1°, 70.1, 60.4 |
XYZ | 10.466, 6.172, 31.212 |
---|---|
Hunter Lab | 24.844, 31.722, -57.098 |
CIE-LAB | 29.842, 42.057, -52.833 |
CIE-LCH | 29.842, 67.529, 308.521 |
CIE-LUV | 45.45, 70.13, 0, 39.61 |
Web Safe | 663399 |
RGB percent of color #542e9a
CMYK percent of color #542e9a
Text with hexadecimal color #542e9a
This text has a font color of #542e9a
<p style="color:#542e9a">Text here</p>
#542e9a Background Color
This box has a background color of #542e9a
<div style="background-color:#542e9a">Text here</div>
#542e9a Border Color
This box has a border color of #542e9a
<div style="border: 4px solid #542e9a">Text here</div>
CSS codes
<p style="color:#542e9a">Text here</p>
<div style="background-color:#542e9a">Text here</div>
<div style="border: 4px solid #542e9a">Text here</div>
#542e9a Color on white background
This is how a font and box color of #542e9a will look
on a white background.
#542e9a Color on black background
This is how a font and box color of #542e9a hex color will look
on a black background.