In RGB color space, #542b8e hex color has a red value of 84, a green value of 43 and a blue value of 142.
In CMYK color space (used in color printing), #542b8e hex color is composed of 40.85% cyan, 69.72% magenta, 0% yellow and 44.31% black.
#542b8e color has a hue of 264.8 degrees, a saturation of 53.51% and a lightness of 36.3%.
#542b8e hex color contains mainly BLUE.
The closest web safe color of #542b8e is #663399
#542b8e hex color has a decimal value of 5516174.
HEX | 542b8e | #542b8e |
---|---|---|
RGB | 84, 43, 142 | rgb(84, 43, 142) |
RGB Percent | 32.94, 16.86, 55.69 | rgb(32.94, 16.86, 55.69) |
CMYK | 41, 70, 0, 44 | |
HSL | 264.8°, 53.51, 36.3 | hsl(264.8, 53.51%, 36.3%) |
HSV | 264.8°, 69.7, 55.7 |
XYZ | 9.403, 5.566, 26.17 |
---|---|
Hunter Lab | 23.592, 29.856, -49.253 |
CIE-LAB | 28.29, 40.344, -47.988 |
CIE-LCH | 28.29, 62.694, 310.054 |
CIE-LUV | 40.85, 69.72, 0, 44.31 |
Web Safe | 663399 |
RGB percent of color #542b8e
CMYK percent of color #542b8e
Text with hexadecimal color #542b8e
This text has a font color of #542b8e
<p style="color:#542b8e">Text here</p>
#542b8e Background Color
This box has a background color of #542b8e
<div style="background-color:#542b8e">Text here</div>
#542b8e Border Color
This box has a border color of #542b8e
<div style="border: 4px solid #542b8e">Text here</div>
CSS codes
<p style="color:#542b8e">Text here</p>
<div style="background-color:#542b8e">Text here</div>
<div style="border: 4px solid #542b8e">Text here</div>
#542b8e Color on white background
This is how a font and box color of #542b8e will look
on a white background.
#542b8e Color on black background
This is how a font and box color of #542b8e hex color will look
on a black background.