In RGB color space, #542d8a hex color has a red value of 84, a green value of 45 and a blue value of 138.
In CMYK color space (used in color printing), #542d8a hex color is composed of 39.13% cyan, 67.39% magenta, 0% yellow and 45.88% black.
#542d8a color has a hue of 265.2 degrees, a saturation of 50.82% and a lightness of 35.9%.
#542d8a hex color contains mainly BLUE.
The closest web safe color of #542d8a is #663399
#542d8a hex color has a decimal value of 5516682.
HEX | 542d8a | #542d8a |
---|---|---|
RGB | 84, 45, 138 | rgb(84, 45, 138) |
RGB Percent | 32.94, 17.65, 54.12 | rgb(32.94, 17.65, 54.12) |
CMYK | 39, 67, 0, 46 | |
HSL | 265.2°, 50.82, 35.9 | hsl(265.2, 50.82%, 35.9%) |
HSV | 265.2°, 67.4, 54.1 |
XYZ | 9.182, 5.597, 24.641 |
---|---|
Hunter Lab | 23.658, 27.877, -45.193 |
CIE-LAB | 28.372, 38.164, -45.376 |
CIE-LCH | 28.372, 59.291, 310.066 |
CIE-LUV | 39.13, 67.39, 0, 45.88 |
Web Safe | 663399 |
RGB percent of color #542d8a
CMYK percent of color #542d8a
Text with hexadecimal color #542d8a
This text has a font color of #542d8a
<p style="color:#542d8a">Text here</p>
#542d8a Background Color
This box has a background color of #542d8a
<div style="background-color:#542d8a">Text here</div>
#542d8a Border Color
This box has a border color of #542d8a
<div style="border: 4px solid #542d8a">Text here</div>
CSS codes
<p style="color:#542d8a">Text here</p>
<div style="background-color:#542d8a">Text here</div>
<div style="border: 4px solid #542d8a">Text here</div>
#542d8a Color on white background
This is how a font and box color of #542d8a will look
on a white background.
#542d8a Color on black background
This is how a font and box color of #542d8a hex color will look
on a black background.