In RGB color space, #540ad1 hex color has a red value of 84, a green value of 10 and a blue value of 209.
In CMYK color space (used in color printing), #540ad1 hex color is composed of 59.81% cyan, 95.22% magenta, 0% yellow and 18.04% black.
#540ad1 color has a hue of 262.3 degrees, a saturation of 90.87% and a lightness of 42.9%.
#540ad1 hex color contains mainly BLUE.
The closest web safe color of #540ad1 is #6600cc
#540ad1 hex color has a decimal value of 5507793.
HEX | 540ad1 | #540ad1 |
---|---|---|
RGB | 84, 10, 209 | rgb(84, 10, 209) |
RGB Percent | 32.94, 3.92, 81.96 | rgb(32.94, 3.92, 81.96) |
CMYK | 60, 95, 0, 18 | |
HSL | 262.3°, 90.87, 42.9 | hsl(262.3, 90.87%, 42.9%) |
HSV | 262.3°, 95.2, 82 |
XYZ | 15.273, 6.705, 60.811 |
---|---|
Hunter Lab | 25.894, 59.97, -121.114 |
CIE-LAB | 31.126, 68.703, -83.453 |
CIE-LCH | 31.126, 108.095, 309.463 |
CIE-LUV | 59.81, 95.22, 0, 18.04 |
Web Safe | 6600cc |
RGB percent of color #540ad1
CMYK percent of color #540ad1
Text with hexadecimal color #540ad1
This text has a font color of #540ad1
<p style="color:#540ad1">Text here</p>
#540ad1 Background Color
This box has a background color of #540ad1
<div style="background-color:#540ad1">Text here</div>
#540ad1 Border Color
This box has a border color of #540ad1
<div style="border: 4px solid #540ad1">Text here</div>
CSS codes
<p style="color:#540ad1">Text here</p>
<div style="background-color:#540ad1">Text here</div>
<div style="border: 4px solid #540ad1">Text here</div>
#540ad1 Color on white background
This is how a font and box color of #540ad1 will look
on a white background.
#540ad1 Color on black background
This is how a font and box color of #540ad1 hex color will look
on a black background.