In RGB color space, #540e7b hex color has a red value of 84, a green value of 14 and a blue value of 123.
In CMYK color space (used in color printing), #540e7b hex color is composed of 31.71% cyan, 88.62% magenta, 0% yellow and 51.76% black.
#540e7b color has a hue of 278.5 degrees, a saturation of 79.56% and a lightness of 26.9%.
#540e7b hex color contains mainly BLUE.
The closest web safe color of #540e7b is #660066
#540e7b hex color has a decimal value of 5508731.
HEX | 540e7b | #540e7b |
---|---|---|
RGB | 84, 14, 123 | rgb(84, 14, 123) |
RGB Percent | 32.94, 5.49, 48.24 | rgb(32.94, 5.49, 48.24) |
CMYK | 32, 89, 0, 52 | |
HSL | 278.5°, 79.56, 26.9 | hsl(278.5, 79.56%, 26.9%) |
HSV | 278.5°, 88.6, 48.2 |
XYZ | 7.388, 3.629, 19.05 |
---|---|
Hunter Lab | 19.05, 35.889, -45.955 |
CIE-LAB | 22.405, 47.848, -45.645 |
CIE-LCH | 22.405, 66.128, 316.35 |
CIE-LUV | 31.71, 88.62, 0, 51.76 |
Web Safe | 660066 |
RGB percent of color #540e7b
CMYK percent of color #540e7b
Text with hexadecimal color #540e7b
This text has a font color of #540e7b
<p style="color:#540e7b">Text here</p>
#540e7b Background Color
This box has a background color of #540e7b
<div style="background-color:#540e7b">Text here</div>
#540e7b Border Color
This box has a border color of #540e7b
<div style="border: 4px solid #540e7b">Text here</div>
CSS codes
<p style="color:#540e7b">Text here</p>
<div style="background-color:#540e7b">Text here</div>
<div style="border: 4px solid #540e7b">Text here</div>
#540e7b Color on white background
This is how a font and box color of #540e7b will look
on a white background.
#540e7b Color on black background
This is how a font and box color of #540e7b hex color will look
on a black background.