In RGB color space, #540ab2 hex color has a red value of 84, a green value of 10 and a blue value of 178.
In CMYK color space (used in color printing), #540ab2 hex color is composed of 52.81% cyan, 94.38% magenta, 0% yellow and 30.2% black.
#540ab2 color has a hue of 266.4 degrees, a saturation of 89.36% and a lightness of 36.9%.
#540ab2 hex color contains mainly BLUE.
The closest web safe color of #540ab2 is #660099
#540ab2 hex color has a decimal value of 5507762.
HEX | 540ab2 | #540ab2 |
---|---|---|
RGB | 84, 10, 178 | rgb(84, 10, 178) |
RGB Percent | 32.94, 3.92, 69.8 | rgb(32.94, 3.92, 69.8) |
CMYK | 53, 94, 0, 30 | |
HSL | 266.4°, 89.36, 36.9 | hsl(266.4, 89.36%, 36.9%) |
HSV | 266.4°, 94.4, 69.8 |
XYZ | 11.801, 5.316, 42.524 |
---|---|
Hunter Lab | 23.056, 51.013, -93.212 |
CIE-LAB | 27.617, 61.435, -70.99 |
CIE-LCH | 27.617, 93.882, 310.873 |
CIE-LUV | 52.81, 94.38, 0, 30.2 |
Web Safe | 660099 |
RGB percent of color #540ab2
CMYK percent of color #540ab2
Text with hexadecimal color #540ab2
This text has a font color of #540ab2
<p style="color:#540ab2">Text here</p>
#540ab2 Background Color
This box has a background color of #540ab2
<div style="background-color:#540ab2">Text here</div>
#540ab2 Border Color
This box has a border color of #540ab2
<div style="border: 4px solid #540ab2">Text here</div>
CSS codes
<p style="color:#540ab2">Text here</p>
<div style="background-color:#540ab2">Text here</div>
<div style="border: 4px solid #540ab2">Text here</div>
#540ab2 Color on white background
This is how a font and box color of #540ab2 will look
on a white background.
#540ab2 Color on black background
This is how a font and box color of #540ab2 hex color will look
on a black background.