In RGB color space, #542f78 hex color has a red value of 84, a green value of 47 and a blue value of 120.
In CMYK color space (used in color printing), #542f78 hex color is composed of 30% cyan, 60.83% magenta, 0% yellow and 52.94% black.
#542f78 color has a hue of 270.4 degrees, a saturation of 43.71% and a lightness of 32.7%.
#542f78 hex color contains mainly BLUE.
The closest web safe color of #542f78 is #663366
#542f78 hex color has a decimal value of 5517176.
HEX | 542f78 | #542f78 |
---|---|---|
RGB | 84, 47, 120 | rgb(84, 47, 120) |
RGB Percent | 32.94, 18.43, 47.06 | rgb(32.94, 18.43, 47.06) |
CMYK | 30, 61, 0, 53 | |
HSL | 270.4°, 43.71, 32.7 | hsl(270.4, 43.71%, 32.7%) |
HSV | 270.4°, 60.8, 47.1 |
XYZ | 8.063, 5.274, 18.362 |
---|---|
Hunter Lab | 22.965, 22.482, -31.33 |
CIE-LAB | 27.502, 32.19, -35.494 |
CIE-LCH | 27.502, 47.917, 312.205 |
CIE-LUV | 30, 60.83, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #542f78
CMYK percent of color #542f78
Text with hexadecimal color #542f78
This text has a font color of #542f78
<p style="color:#542f78">Text here</p>
#542f78 Background Color
This box has a background color of #542f78
<div style="background-color:#542f78">Text here</div>
#542f78 Border Color
This box has a border color of #542f78
<div style="border: 4px solid #542f78">Text here</div>
CSS codes
<p style="color:#542f78">Text here</p>
<div style="background-color:#542f78">Text here</div>
<div style="border: 4px solid #542f78">Text here</div>
#542f78 Color on white background
This is how a font and box color of #542f78 will look
on a white background.
#542f78 Color on black background
This is how a font and box color of #542f78 hex color will look
on a black background.