In RGB color space, #540f7b hex color has a red value of 84, a green value of 15 and a blue value of 123.
In CMYK color space (used in color printing), #540f7b hex color is composed of 31.71% cyan, 87.8% magenta, 0% yellow and 51.76% black.
#540f7b color has a hue of 278.3 degrees, a saturation of 78.26% and a lightness of 27.1%.
#540f7b hex color contains mainly BLUE.
The closest web safe color of #540f7b is #660066
#540f7b hex color has a decimal value of 5508987.
HEX | 540f7b | #540f7b |
---|---|---|
RGB | 84, 15, 123 | rgb(84, 15, 123) |
RGB Percent | 32.94, 5.88, 48.24 | rgb(32.94, 5.88, 48.24) |
CMYK | 32, 88, 0, 52 | |
HSL | 278.3°, 78.26, 27.1 | hsl(278.3, 78.26%, 27.1%) |
HSV | 278.3°, 87.8, 48.2 |
XYZ | 7.402, 3.657, 19.055 |
---|---|
Hunter Lab | 19.123, 35.626, -45.692 |
CIE-LAB | 22.503, 47.558, -45.485 |
CIE-LCH | 22.503, 65.808, 316.276 |
CIE-LUV | 31.71, 87.8, 0, 51.76 |
Web Safe | 660066 |
RGB percent of color #540f7b
CMYK percent of color #540f7b
Text with hexadecimal color #540f7b
This text has a font color of #540f7b
<p style="color:#540f7b">Text here</p>
#540f7b Background Color
This box has a background color of #540f7b
<div style="background-color:#540f7b">Text here</div>
#540f7b Border Color
This box has a border color of #540f7b
<div style="border: 4px solid #540f7b">Text here</div>
CSS codes
<p style="color:#540f7b">Text here</p>
<div style="background-color:#540f7b">Text here</div>
<div style="border: 4px solid #540f7b">Text here</div>
#540f7b Color on white background
This is how a font and box color of #540f7b will look
on a white background.
#540f7b Color on black background
This is how a font and box color of #540f7b hex color will look
on a black background.