In RGB color space, #542172 hex color has a red value of 84, a green value of 33 and a blue value of 114.
In CMYK color space (used in color printing), #542172 hex color is composed of 26.32% cyan, 71.05% magenta, 0% yellow and 55.29% black.
#542172 color has a hue of 277.8 degrees, a saturation of 55.1% and a lightness of 28.8%.
#542172 hex color contains mainly BLUE.
The closest web safe color of #542172 is #663366
#542172 hex color has a decimal value of 5513586.
HEX | 542172 | #542172 |
---|---|---|
RGB | 84, 33, 114 | rgb(84, 33, 114) |
RGB Percent | 32.94, 12.94, 44.71 | rgb(32.94, 12.94, 44.71) |
CMYK | 26, 71, 0, 55 | |
HSL | 277.8°, 55.1, 28.8 | hsl(277.8, 55.1%, 28.8%) |
HSV | 277.8°, 71.1, 44.7 |
XYZ | 7.237, 4.187, 16.346 |
---|---|
Hunter Lab | 20.462, 27.323, -33.04 |
CIE-LAB | 24.28, 38.301, -36.847 |
CIE-LCH | 24.28, 53.148, 316.108 |
CIE-LUV | 26.32, 71.05, 0, 55.29 |
Web Safe | 663366 |
RGB percent of color #542172
CMYK percent of color #542172
Text with hexadecimal color #542172
This text has a font color of #542172
<p style="color:#542172">Text here</p>
#542172 Background Color
This box has a background color of #542172
<div style="background-color:#542172">Text here</div>
#542172 Border Color
This box has a border color of #542172
<div style="border: 4px solid #542172">Text here</div>
CSS codes
<p style="color:#542172">Text here</p>
<div style="background-color:#542172">Text here</div>
<div style="border: 4px solid #542172">Text here</div>
#542172 Color on white background
This is how a font and box color of #542172 will look
on a white background.
#542172 Color on black background
This is how a font and box color of #542172 hex color will look
on a black background.