In RGB color space, #540f9f hex color has a red value of 84, a green value of 15 and a blue value of 159.
In CMYK color space (used in color printing), #540f9f hex color is composed of 47.17% cyan, 90.57% magenta, 0% yellow and 37.65% black.
#540f9f color has a hue of 268.8 degrees, a saturation of 82.76% and a lightness of 34.1%.
#540f9f hex color contains mainly BLUE.
The closest web safe color of #540f9f is #660099
#540f9f hex color has a decimal value of 5509023.
HEX | 540f9f | #540f9f |
---|---|---|
RGB | 84, 15, 159 | rgb(84, 15, 159) |
RGB Percent | 32.94, 5.88, 62.35 | rgb(32.94, 5.88, 62.35) |
CMYK | 47, 91, 0, 38 | |
HSL | 268.8°, 82.76, 34.1 | hsl(268.8, 82.76%, 34.1%) |
HSV | 268.8°, 90.6, 62.4 |
XYZ | 10.085, 4.73, 33.182 |
---|---|
Hunter Lab | 21.749, 44.712, -75.235 |
CIE-LAB | 25.951, 55.885, -62.26 |
CIE-LCH | 25.951, 83.663, 311.911 |
CIE-LUV | 47.17, 90.57, 0, 37.65 |
Web Safe | 660099 |
RGB percent of color #540f9f
CMYK percent of color #540f9f
Text with hexadecimal color #540f9f
This text has a font color of #540f9f
<p style="color:#540f9f">Text here</p>
#540f9f Background Color
This box has a background color of #540f9f
<div style="background-color:#540f9f">Text here</div>
#540f9f Border Color
This box has a border color of #540f9f
<div style="border: 4px solid #540f9f">Text here</div>
CSS codes
<p style="color:#540f9f">Text here</p>
<div style="background-color:#540f9f">Text here</div>
<div style="border: 4px solid #540f9f">Text here</div>
#540f9f Color on white background
This is how a font and box color of #540f9f will look
on a white background.
#540f9f Color on black background
This is how a font and box color of #540f9f hex color will look
on a black background.