In RGB color space, #542878 hex color has a red value of 84, a green value of 40 and a blue value of 120.
In CMYK color space (used in color printing), #542878 hex color is composed of 30% cyan, 66.67% magenta, 0% yellow and 52.94% black.
#542878 color has a hue of 273 degrees, a saturation of 50% and a lightness of 31.4%.
#542878 hex color contains mainly BLUE.
The closest web safe color of #542878 is #663366
#542878 hex color has a decimal value of 5515384.
HEX | 542878 | #542878 |
---|---|---|
RGB | 84, 40, 120 | rgb(84, 40, 120) |
RGB Percent | 32.94, 15.69, 47.06 | rgb(32.94, 15.69, 47.06) |
CMYK | 30, 67, 0, 53 | |
HSL | 273°, 50, 31.4 | hsl(273, 50%, 31.4%) |
HSV | 273°, 66.7, 47.1 |
XYZ | 7.805, 4.758, 18.276 |
---|---|
Hunter Lab | 21.813, 25.698, -34.407 |
CIE-LAB | 26.034, 36.147, -37.852 |
CIE-LCH | 26.034, 52.339, 313.68 |
CIE-LUV | 30, 66.67, 0, 52.94 |
Web Safe | 663366 |
RGB percent of color #542878
CMYK percent of color #542878
Text with hexadecimal color #542878
This text has a font color of #542878
<p style="color:#542878">Text here</p>
#542878 Background Color
This box has a background color of #542878
<div style="background-color:#542878">Text here</div>
#542878 Border Color
This box has a border color of #542878
<div style="border: 4px solid #542878">Text here</div>
CSS codes
<p style="color:#542878">Text here</p>
<div style="background-color:#542878">Text here</div>
<div style="border: 4px solid #542878">Text here</div>
#542878 Color on white background
This is how a font and box color of #542878 will look
on a white background.
#542878 Color on black background
This is how a font and box color of #542878 hex color will look
on a black background.