In RGB color space, #540d98 hex color has a red value of 84, a green value of 13 and a blue value of 152.
In CMYK color space (used in color printing), #540d98 hex color is composed of 44.74% cyan, 91.45% magenta, 0% yellow and 40.39% black.
#540d98 color has a hue of 270.6 degrees, a saturation of 84.24% and a lightness of 32.4%.
#540d98 hex color contains mainly BLUE.
The closest web safe color of #540d98 is #660099
#540d98 hex color has a decimal value of 5508504.
HEX | 540d98 | #540d98 |
---|---|---|
RGB | 84, 13, 152 | rgb(84, 13, 152) |
RGB Percent | 32.94, 5.1, 59.61 | rgb(32.94, 5.1, 59.61) |
CMYK | 45, 91, 0, 40 | |
HSL | 270.6°, 84.24, 32.4 | hsl(270.6, 84.24%, 32.4%) |
HSV | 270.6°, 91.4, 59.6 |
XYZ | 9.468, 4.44, 30.064 |
---|---|
Hunter Lab | 21.071, 43.331, -69.844 |
CIE-LAB | 25.076, 54.73, -59.414 |
CIE-LCH | 25.076, 80.78, 312.65 |
CIE-LUV | 44.74, 91.45, 0, 40.39 |
Web Safe | 660099 |
RGB percent of color #540d98
CMYK percent of color #540d98
Text with hexadecimal color #540d98
This text has a font color of #540d98
<p style="color:#540d98">Text here</p>
#540d98 Background Color
This box has a background color of #540d98
<div style="background-color:#540d98">Text here</div>
#540d98 Border Color
This box has a border color of #540d98
<div style="border: 4px solid #540d98">Text here</div>
CSS codes
<p style="color:#540d98">Text here</p>
<div style="background-color:#540d98">Text here</div>
<div style="border: 4px solid #540d98">Text here</div>
#540d98 Color on white background
This is how a font and box color of #540d98 will look
on a white background.
#540d98 Color on black background
This is how a font and box color of #540d98 hex color will look
on a black background.