In RGB color space, #542171 hex color has a red value of 84, a green value of 33 and a blue value of 113.
In CMYK color space (used in color printing), #542171 hex color is composed of 25.66% cyan, 70.8% magenta, 0% yellow and 55.69% black.
#542171 color has a hue of 278.3 degrees, a saturation of 54.79% and a lightness of 28.6%.
#542171 hex color contains mainly BLUE.
The closest web safe color of #542171 is #663366
#542171 hex color has a decimal value of 5513585.
HEX | 542171 | #542171 |
---|---|---|
RGB | 84, 33, 113 | rgb(84, 33, 113) |
RGB Percent | 32.94, 12.94, 44.31 | rgb(32.94, 12.94, 44.31) |
CMYK | 26, 71, 0, 56 | |
HSL | 278.3°, 54.79, 28.6 | hsl(278.3, 54.79%, 28.6%) |
HSV | 278.3°, 70.8, 44.3 |
XYZ | 7.181, 4.165, 16.048 |
---|---|
Hunter Lab | 20.408, 27.094, -32.337 |
CIE-LAB | 24.21, 38.057, -36.318 |
CIE-LCH | 24.21, 52.605, 316.339 |
CIE-LUV | 25.66, 70.8, 0, 55.69 |
Web Safe | 663366 |
RGB percent of color #542171
CMYK percent of color #542171
Text with hexadecimal color #542171
This text has a font color of #542171
<p style="color:#542171">Text here</p>
#542171 Background Color
This box has a background color of #542171
<div style="background-color:#542171">Text here</div>
#542171 Border Color
This box has a border color of #542171
<div style="border: 4px solid #542171">Text here</div>
CSS codes
<p style="color:#542171">Text here</p>
<div style="background-color:#542171">Text here</div>
<div style="border: 4px solid #542171">Text here</div>
#542171 Color on white background
This is how a font and box color of #542171 will look
on a white background.
#542171 Color on black background
This is how a font and box color of #542171 hex color will look
on a black background.