In RGB color space, #542f9e hex color has a red value of 84, a green value of 47 and a blue value of 158.
In CMYK color space (used in color printing), #542f9e hex color is composed of 46.84% cyan, 70.25% magenta, 0% yellow and 38.04% black.
#542f9e color has a hue of 260 degrees, a saturation of 54.15% and a lightness of 40.2%.
#542f9e hex color contains mainly BLUE.
The closest web safe color of #542f9e is #663399
#542f9e hex color has a decimal value of 5517214.
HEX | 542f9e | #542f9e |
---|---|---|
RGB | 84, 47, 158 | rgb(84, 47, 158) |
RGB Percent | 32.94, 18.43, 61.96 | rgb(32.94, 18.43, 61.96) |
CMYK | 47, 70, 0, 38 | |
HSL | 260°, 54.15, 40.2 | hsl(260, 54.15%, 40.2%) |
HSV | 260°, 70.3, 62 |
XYZ | 10.844, 6.386, 33.009 |
---|---|
Hunter Lab | 25.271, 32.374, -59.757 |
CIE-LAB | 30.366, 42.651, -54.413 |
CIE-LCH | 30.366, 69.137, 308.091 |
CIE-LUV | 46.84, 70.25, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #542f9e
CMYK percent of color #542f9e
Text with hexadecimal color #542f9e
This text has a font color of #542f9e
<p style="color:#542f9e">Text here</p>
#542f9e Background Color
This box has a background color of #542f9e
<div style="background-color:#542f9e">Text here</div>
#542f9e Border Color
This box has a border color of #542f9e
<div style="border: 4px solid #542f9e">Text here</div>
CSS codes
<p style="color:#542f9e">Text here</p>
<div style="background-color:#542f9e">Text here</div>
<div style="border: 4px solid #542f9e">Text here</div>
#542f9e Color on white background
This is how a font and box color of #542f9e will look
on a white background.
#542f9e Color on black background
This is how a font and box color of #542f9e hex color will look
on a black background.