In RGB color space, #540e9a hex color has a red value of 84, a green value of 14 and a blue value of 154.
In CMYK color space (used in color printing), #540e9a hex color is composed of 45.45% cyan, 90.91% magenta, 0% yellow and 39.61% black.
#540e9a color has a hue of 270 degrees, a saturation of 83.33% and a lightness of 32.9%.
#540e9a hex color contains mainly BLUE.
The closest web safe color of #540e9a is #660099
#540e9a hex color has a decimal value of 5508762.
HEX | 540e9a | #540e9a |
---|---|---|
RGB | 84, 14, 154 | rgb(84, 14, 154) |
RGB Percent | 32.94, 5.49, 60.39 | rgb(32.94, 5.49, 60.39) |
CMYK | 45, 91, 0, 40 | |
HSL | 270°, 83.33, 32.9 | hsl(270, 83.33%, 32.9%) |
HSV | 270°, 90.9, 60.4 |
XYZ | 9.646, 4.532, 30.938 |
---|---|
Hunter Lab | 21.288, 43.625, -71.263 |
CIE-LAB | 25.358, 54.959, -60.178 |
CIE-LCH | 25.358, 81.498, 312.405 |
CIE-LUV | 45.45, 90.91, 0, 39.61 |
Web Safe | 660099 |
RGB percent of color #540e9a
CMYK percent of color #540e9a
Text with hexadecimal color #540e9a
This text has a font color of #540e9a
<p style="color:#540e9a">Text here</p>
#540e9a Background Color
This box has a background color of #540e9a
<div style="background-color:#540e9a">Text here</div>
#540e9a Border Color
This box has a border color of #540e9a
<div style="border: 4px solid #540e9a">Text here</div>
CSS codes
<p style="color:#540e9a">Text here</p>
<div style="background-color:#540e9a">Text here</div>
<div style="border: 4px solid #540e9a">Text here</div>
#540e9a Color on white background
This is how a font and box color of #540e9a will look
on a white background.
#540e9a Color on black background
This is how a font and box color of #540e9a hex color will look
on a black background.