In RGB color space, #542870 hex color has a red value of 84, a green value of 40 and a blue value of 112.
In CMYK color space (used in color printing), #542870 hex color is composed of 25% cyan, 64.29% magenta, 0% yellow and 56.08% black.
#542870 color has a hue of 276.7 degrees, a saturation of 47.37% and a lightness of 29.8%.
#542870 hex color contains mainly BLUE.
The closest web safe color of #542870 is #663366
#542870 hex color has a decimal value of 5515376.
HEX | 542870 | #542870 |
---|---|---|
RGB | 84, 40, 112 | rgb(84, 40, 112) |
RGB Percent | 32.94, 15.69, 43.92 | rgb(32.94, 15.69, 43.92) |
CMYK | 25, 64, 0, 56 | |
HSL | 276.7°, 47.37, 29.8 | hsl(276.7, 47.37%, 29.8%) |
HSV | 276.7°, 64.3, 43.9 |
XYZ | 7.34, 4.572, 15.825 |
---|---|
Hunter Lab | 21.382, 23.856, -28.913 |
CIE-LAB | 25.479, 34.135, -33.638 |
CIE-LCH | 25.479, 47.924, 315.42 |
CIE-LUV | 25, 64.29, 0, 56.08 |
Web Safe | 663366 |
RGB percent of color #542870
CMYK percent of color #542870
Text with hexadecimal color #542870
This text has a font color of #542870
<p style="color:#542870">Text here</p>
#542870 Background Color
This box has a background color of #542870
<div style="background-color:#542870">Text here</div>
#542870 Border Color
This box has a border color of #542870
<div style="border: 4px solid #542870">Text here</div>
CSS codes
<p style="color:#542870">Text here</p>
<div style="background-color:#542870">Text here</div>
<div style="border: 4px solid #542870">Text here</div>
#542870 Color on white background
This is how a font and box color of #542870 will look
on a white background.
#542870 Color on black background
This is how a font and box color of #542870 hex color will look
on a black background.