In RGB color space, #540f9b hex color has a red value of 84, a green value of 15 and a blue value of 155.
In CMYK color space (used in color printing), #540f9b hex color is composed of 45.81% cyan, 90.32% magenta, 0% yellow and 39.22% black.
#540f9b color has a hue of 269.6 degrees, a saturation of 82.35% and a lightness of 33.3%.
#540f9b hex color contains mainly BLUE.
The closest web safe color of #540f9b is #660099
#540f9b hex color has a decimal value of 5509019.
HEX | 540f9b | #540f9b |
---|---|---|
RGB | 84, 15, 155 | rgb(84, 15, 155) |
RGB Percent | 32.94, 5.88, 60.78 | rgb(32.94, 5.88, 60.78) |
CMYK | 46, 90, 0, 39 | |
HSL | 269.6°, 82.35, 33.3 | hsl(269.6, 82.35%, 33.3%) |
HSV | 269.6°, 90.3, 60.8 |
XYZ | 9.743, 4.593, 31.383 |
---|---|
Hunter Lab | 21.431, 43.644, -71.82 |
CIE-LAB | 25.542, 54.942, -60.487 |
CIE-LCH | 25.542, 81.715, 312.25 |
CIE-LUV | 45.81, 90.32, 0, 39.22 |
Web Safe | 660099 |
RGB percent of color #540f9b
CMYK percent of color #540f9b
Text with hexadecimal color #540f9b
This text has a font color of #540f9b
<p style="color:#540f9b">Text here</p>
#540f9b Background Color
This box has a background color of #540f9b
<div style="background-color:#540f9b">Text here</div>
#540f9b Border Color
This box has a border color of #540f9b
<div style="border: 4px solid #540f9b">Text here</div>
CSS codes
<p style="color:#540f9b">Text here</p>
<div style="background-color:#540f9b">Text here</div>
<div style="border: 4px solid #540f9b">Text here</div>
#540f9b Color on white background
This is how a font and box color of #540f9b will look
on a white background.
#540f9b Color on black background
This is how a font and box color of #540f9b hex color will look
on a black background.