In RGB color space, #542d8d hex color has a red value of 84, a green value of 45 and a blue value of 141.
In CMYK color space (used in color printing), #542d8d hex color is composed of 40.43% cyan, 68.09% magenta, 0% yellow and 44.71% black.
#542d8d color has a hue of 264.4 degrees, a saturation of 51.61% and a lightness of 36.5%.
#542d8d hex color contains mainly BLUE.
The closest web safe color of #542d8d is #663399
#542d8d hex color has a decimal value of 5516685.
HEX | 542d8d | #542d8d |
---|---|---|
RGB | 84, 45, 141 | rgb(84, 45, 141) |
RGB Percent | 32.94, 17.65, 55.29 | rgb(32.94, 17.65, 55.29) |
CMYK | 40, 68, 0, 45 | |
HSL | 264.4°, 51.61, 36.5 | hsl(264.4, 51.61%, 36.5%) |
HSV | 264.4°, 68.1, 55.3 |
XYZ | 9.402, 5.685, 25.801 |
---|---|
Hunter Lab | 23.843, 28.661, -47.468 |
CIE-LAB | 28.603, 38.984, -46.86 |
CIE-LCH | 28.603, 60.956, 309.758 |
CIE-LUV | 40.43, 68.09, 0, 44.71 |
Web Safe | 663399 |
RGB percent of color #542d8d
CMYK percent of color #542d8d
Text with hexadecimal color #542d8d
This text has a font color of #542d8d
<p style="color:#542d8d">Text here</p>
#542d8d Background Color
This box has a background color of #542d8d
<div style="background-color:#542d8d">Text here</div>
#542d8d Border Color
This box has a border color of #542d8d
<div style="border: 4px solid #542d8d">Text here</div>
CSS codes
<p style="color:#542d8d">Text here</p>
<div style="background-color:#542d8d">Text here</div>
<div style="border: 4px solid #542d8d">Text here</div>
#542d8d Color on white background
This is how a font and box color of #542d8d will look
on a white background.
#542d8d Color on black background
This is how a font and box color of #542d8d hex color will look
on a black background.