In RGB color space, #542d9f hex color has a red value of 84, a green value of 45 and a blue value of 159.
In CMYK color space (used in color printing), #542d9f hex color is composed of 47.17% cyan, 71.7% magenta, 0% yellow and 37.65% black.
#542d9f color has a hue of 260.5 degrees, a saturation of 55.88% and a lightness of 40%.
#542d9f hex color contains mainly BLUE.
The closest web safe color of #542d9f is #663399
#542d9f hex color has a decimal value of 5516703.
HEX | 542d9f | #542d9f |
---|---|---|
RGB | 84, 45, 159 | rgb(84, 45, 159) |
RGB Percent | 32.94, 17.65, 62.35 | rgb(32.94, 17.65, 62.35) |
CMYK | 47, 72, 0, 38 | |
HSL | 260.5°, 55.88, 40 | hsl(260.5, 55.88%, 40%) |
HSV | 260.5°, 71.7, 62.4 |
XYZ | 10.853, 6.265, 33.438 |
---|---|
Hunter Lab | 25.03, 33.595, -61.686 |
CIE-LAB | 30.071, 43.988, -55.501 |
CIE-LCH | 30.071, 70.819, 308.399 |
CIE-LUV | 47.17, 71.7, 0, 37.65 |
Web Safe | 663399 |
RGB percent of color #542d9f
CMYK percent of color #542d9f
Text with hexadecimal color #542d9f
This text has a font color of #542d9f
<p style="color:#542d9f">Text here</p>
#542d9f Background Color
This box has a background color of #542d9f
<div style="background-color:#542d9f">Text here</div>
#542d9f Border Color
This box has a border color of #542d9f
<div style="border: 4px solid #542d9f">Text here</div>
CSS codes
<p style="color:#542d9f">Text here</p>
<div style="background-color:#542d9f">Text here</div>
<div style="border: 4px solid #542d9f">Text here</div>
#542d9f Color on white background
This is how a font and box color of #542d9f will look
on a white background.
#542d9f Color on black background
This is how a font and box color of #542d9f hex color will look
on a black background.