In RGB color space, #542c9f hex color has a red value of 84, a green value of 44 and a blue value of 159.
In CMYK color space (used in color printing), #542c9f hex color is composed of 47.17% cyan, 72.33% magenta, 0% yellow and 37.65% black.
#542c9f color has a hue of 260.9 degrees, a saturation of 56.65% and a lightness of 39.8%.
#542c9f hex color contains mainly BLUE.
The closest web safe color of #542c9f is #663399
#542c9f hex color has a decimal value of 5516447.
HEX | 542c9f | #542c9f |
---|---|---|
RGB | 84, 44, 159 | rgb(84, 44, 159) |
RGB Percent | 32.94, 17.25, 62.35 | rgb(32.94, 17.25, 62.35) |
CMYK | 47, 72, 0, 38 | |
HSL | 260.9°, 56.65, 39.8 | hsl(260.9, 56.65%, 39.8%) |
HSV | 260.9°, 72.3, 62.4 |
XYZ | 10.815, 6.189, 33.426 |
---|---|
Hunter Lab | 24.878, 34.063, -62.248 |
CIE-LAB | 29.884, 44.511, -55.807 |
CIE-LCH | 29.884, 71.384, 308.575 |
CIE-LUV | 47.17, 72.33, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #542c9f
CMYK percent of color #542c9f
Text with hexadecimal color #542c9f
This text has a font color of #542c9f
<p style="color:#542c9f">Text here</p>
#542c9f Background Color
This box has a background color of #542c9f
<div style="background-color:#542c9f">Text here</div>
#542c9f Border Color
This box has a border color of #542c9f
<div style="border: 4px solid #542c9f">Text here</div>
CSS codes
<p style="color:#542c9f">Text here</p>
<div style="background-color:#542c9f">Text here</div>
<div style="border: 4px solid #542c9f">Text here</div>
#542c9f Color on white background
This is how a font and box color of #542c9f will look
on a white background.
#542c9f Color on black background
This is how a font and box color of #542c9f hex color will look
on a black background.