In RGB color space, #542b9d hex color has a red value of 84, a green value of 43 and a blue value of 157.
In CMYK color space (used in color printing), #542b9d hex color is composed of 46.5% cyan, 72.61% magenta, 0% yellow and 38.43% black.
#542b9d color has a hue of 261.6 degrees, a saturation of 57% and a lightness of 39.2%.
#542b9d hex color contains mainly BLUE.
The closest web safe color of #542b9d is #663399
#542b9d hex color has a decimal value of 5516189.
HEX | 542b9d | #542b9d |
---|---|---|
RGB | 84, 43, 157 | rgb(84, 43, 157) |
RGB Percent | 32.94, 16.86, 61.57 | rgb(32.94, 16.86, 61.57) |
CMYK | 47, 73, 0, 38 | |
HSL | 261.6°, 57, 39.2 | hsl(261.6, 57%, 39.2%) |
HSV | 261.6°, 72.6, 61.6 |
XYZ | 10.606, 6.047, 32.506 |
---|---|
Hunter Lab | 24.591, 33.954, -61.161 |
CIE-LAB | 29.531, 44.464, -55.168 |
CIE-LCH | 29.531, 70.856, 308.868 |
CIE-LUV | 46.5, 72.61, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #542b9d
CMYK percent of color #542b9d
Text with hexadecimal color #542b9d
This text has a font color of #542b9d
<p style="color:#542b9d">Text here</p>
#542b9d Background Color
This box has a background color of #542b9d
<div style="background-color:#542b9d">Text here</div>
#542b9d Border Color
This box has a border color of #542b9d
<div style="border: 4px solid #542b9d">Text here</div>
CSS codes
<p style="color:#542b9d">Text here</p>
<div style="background-color:#542b9d">Text here</div>
<div style="border: 4px solid #542b9d">Text here</div>
#542b9d Color on white background
This is how a font and box color of #542b9d will look
on a white background.
#542b9d Color on black background
This is how a font and box color of #542b9d hex color will look
on a black background.