In RGB color space, #542871 hex color has a red value of 84, a green value of 40 and a blue value of 113.
In CMYK color space (used in color printing), #542871 hex color is composed of 25.66% cyan, 64.6% magenta, 0% yellow and 55.69% black.
#542871 color has a hue of 276.2 degrees, a saturation of 47.71% and a lightness of 30%.
#542871 hex color contains mainly BLUE.
The closest web safe color of #542871 is #663366
#542871 hex color has a decimal value of 5515377.
HEX | 542871 | #542871 |
---|---|---|
RGB | 84, 40, 113 | rgb(84, 40, 113) |
RGB Percent | 32.94, 15.69, 44.31 | rgb(32.94, 15.69, 44.31) |
CMYK | 26, 65, 0, 56 | |
HSL | 276.2°, 47.71, 30 | hsl(276.2, 47.71%, 30%) |
HSV | 276.2°, 64.6, 44.3 |
XYZ | 7.396, 4.595, 16.12 |
---|---|
Hunter Lab | 21.436, 24.075, -29.581 |
CIE-LAB | 25.548, 34.376, -34.168 |
CIE-LCH | 25.548, 48.468, 315.174 |
CIE-LUV | 25.66, 64.6, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #542871
CMYK percent of color #542871
Text with hexadecimal color #542871
This text has a font color of #542871
<p style="color:#542871">Text here</p>
#542871 Background Color
This box has a background color of #542871
<div style="background-color:#542871">Text here</div>
#542871 Border Color
This box has a border color of #542871
<div style="border: 4px solid #542871">Text here</div>
CSS codes
<p style="color:#542871">Text here</p>
<div style="background-color:#542871">Text here</div>
<div style="border: 4px solid #542871">Text here</div>
#542871 Color on white background
This is how a font and box color of #542871 will look
on a white background.
#542871 Color on black background
This is how a font and box color of #542871 hex color will look
on a black background.