In RGB color space, #540078 hex color has a red value of 84, a green value of 0 and a blue value of 120.
In CMYK color space (used in color printing), #540078 hex color is composed of 30% cyan, 100% magenta, 0% yellow and 52.94% black.
#540078 color has a hue of 282 degrees, a saturation of 100% and a lightness of 23.5%.
#540078 hex color contains mainly BLUE.
The closest web safe color of #540078 is #660066
#540078 hex color has a decimal value of 5505144.
HEX | 540078 | #540078 |
---|---|---|
RGB | 84, 0, 120 | rgb(84, 0, 120) |
RGB Percent | 32.94, 0, 47.06 | rgb(32.94, 0, 47.06) |
CMYK | 30, 100, 0, 53 | |
HSL | 282°, 100, 23.5 | hsl(282, 100%, 23.5%) |
HSV | 282°, 100, 47.1 |
XYZ | 7.046, 3.241, 18.023 |
---|---|
Hunter Lab | 18.003, 38.357, -46.755 |
CIE-LAB | 20.984, 50.626, -46.047 |
CIE-LCH | 20.984, 68.435, 317.712 |
CIE-LUV | 30, 100, 0, 52.94 |
Web Safe | 660066 |
RGB percent of color #540078
CMYK percent of color #540078
Text with hexadecimal color #540078
This text has a font color of #540078
<p style="color:#540078">Text here</p>
#540078 Background Color
This box has a background color of #540078
<div style="background-color:#540078">Text here</div>
#540078 Border Color
This box has a border color of #540078
<div style="border: 4px solid #540078">Text here</div>
CSS codes
<p style="color:#540078">Text here</p>
<div style="background-color:#540078">Text here</div>
<div style="border: 4px solid #540078">Text here</div>
#540078 Color on white background
This is how a font and box color of #540078 will look
on a white background.
#540078 Color on black background
This is how a font and box color of #540078 hex color will look
on a black background.