In RGB color space, #540898 hex color has a red value of 84, a green value of 8 and a blue value of 152.
In CMYK color space (used in color printing), #540898 hex color is composed of 44.74% cyan, 94.74% magenta, 0% yellow and 40.39% black.
#540898 color has a hue of 271.7 degrees, a saturation of 90% and a lightness of 31.4%.
#540898 hex color contains mainly BLUE.
The closest web safe color of #540898 is #660099
#540898 hex color has a decimal value of 5507224.
HEX | 540898 | #540898 |
---|---|---|
RGB | 84, 8, 152 | rgb(84, 8, 152) |
RGB Percent | 32.94, 3.14, 59.61 | rgb(32.94, 3.14, 59.61) |
CMYK | 45, 95, 0, 40 | |
HSL | 271.7°, 90, 31.4 | hsl(271.7, 90%, 31.4%) |
HSV | 271.7°, 94.7, 59.6 |
XYZ | 9.41, 4.325, 30.045 |
---|---|
Hunter Lab | 20.797, 44.373, -71.099 |
CIE-LAB | 24.718, 55.797, -60.003 |
CIE-LCH | 24.718, 81.937, 312.92 |
CIE-LUV | 44.74, 94.74, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #540898
CMYK percent of color #540898
Text with hexadecimal color #540898
This text has a font color of #540898
<p style="color:#540898">Text here</p>
#540898 Background Color
This box has a background color of #540898
<div style="background-color:#540898">Text here</div>
#540898 Border Color
This box has a border color of #540898
<div style="border: 4px solid #540898">Text here</div>
CSS codes
<p style="color:#540898">Text here</p>
<div style="background-color:#540898">Text here</div>
<div style="border: 4px solid #540898">Text here</div>
#540898 Color on white background
This is how a font and box color of #540898 will look
on a white background.
#540898 Color on black background
This is how a font and box color of #540898 hex color will look
on a black background.