In RGB color space, #542f7e hex color has a red value of 84, a green value of 47 and a blue value of 126.
In CMYK color space (used in color printing), #542f7e hex color is composed of 33.33% cyan, 62.7% magenta, 0% yellow and 50.59% black.
#542f7e color has a hue of 268.1 degrees, a saturation of 45.66% and a lightness of 33.9%.
#542f7e hex color contains mainly BLUE.
The closest web safe color of #542f7e is #663366
#542f7e hex color has a decimal value of 5517182.
HEX | 542f7e | #542f7e |
---|---|---|
RGB | 84, 47, 126 | rgb(84, 47, 126) |
RGB Percent | 32.94, 18.43, 49.41 | rgb(32.94, 18.43, 49.41) |
CMYK | 33, 63, 0, 51 | |
HSL | 268.1°, 45.66, 33.9 | hsl(268.1, 45.66%, 33.9%) |
HSV | 268.1°, 62.7, 49.4 |
XYZ | 8.439, 5.424, 20.341 |
---|---|
Hunter Lab | 23.289, 23.923, -35.481 |
CIE-LAB | 27.91, 33.792, -38.625 |
CIE-LCH | 27.91, 51.32, 311.182 |
CIE-LUV | 33.33, 62.7, 0, 50.59 |
Web Safe | 663366 |
RGB percent of color #542f7e
CMYK percent of color #542f7e
Text with hexadecimal color #542f7e
This text has a font color of #542f7e
<p style="color:#542f7e">Text here</p>
#542f7e Background Color
This box has a background color of #542f7e
<div style="background-color:#542f7e">Text here</div>
#542f7e Border Color
This box has a border color of #542f7e
<div style="border: 4px solid #542f7e">Text here</div>
CSS codes
<p style="color:#542f7e">Text here</p>
<div style="background-color:#542f7e">Text here</div>
<div style="border: 4px solid #542f7e">Text here</div>
#542f7e Color on white background
This is how a font and box color of #542f7e will look
on a white background.
#542f7e Color on black background
This is how a font and box color of #542f7e hex color will look
on a black background.