In RGB color space, #542f9d hex color has a red value of 84, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #542f9d hex color is composed of 46.5% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#542f9d color has a hue of 260.2 degrees, a saturation of 53.92% and a lightness of 40%.
#542f9d hex color contains mainly BLUE.
The closest web safe color of #542f9d is #663399
#542f9d hex color has a decimal value of 5517213.
HEX | 542f9d | #542f9d |
---|---|---|
RGB | 84, 47, 157 | rgb(84, 47, 157) |
RGB Percent | 32.94, 18.43, 61.57 | rgb(32.94, 18.43, 61.57) |
CMYK | 47, 70, 0, 38 | |
HSL | 260.2°, 53.92, 40 | hsl(260.2, 53.92%, 40%) |
HSV | 260.2°, 70.1, 61.6 |
XYZ | 10.758, 6.352, 32.557 |
---|---|
Hunter Lab | 25.203, 32.087, -58.948 |
CIE-LAB | 30.284, 42.363, -53.94 |
CIE-LCH | 30.284, 68.587, 308.145 |
CIE-LUV | 46.5, 70.06, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #542f9d
CMYK percent of color #542f9d
Text with hexadecimal color #542f9d
This text has a font color of #542f9d
<p style="color:#542f9d">Text here</p>
#542f9d Background Color
This box has a background color of #542f9d
<div style="background-color:#542f9d">Text here</div>
#542f9d Border Color
This box has a border color of #542f9d
<div style="border: 4px solid #542f9d">Text here</div>
CSS codes
<p style="color:#542f9d">Text here</p>
<div style="background-color:#542f9d">Text here</div>
<div style="border: 4px solid #542f9d">Text here</div>
#542f9d Color on white background
This is how a font and box color of #542f9d will look
on a white background.
#542f9d Color on black background
This is how a font and box color of #542f9d hex color will look
on a black background.