In RGB color space, #540ba7 hex color has a red value of 84, a green value of 11 and a blue value of 167.
In CMYK color space (used in color printing), #540ba7 hex color is composed of 49.7% cyan, 93.41% magenta, 0% yellow and 34.51% black.
#540ba7 color has a hue of 268.1 degrees, a saturation of 87.64% and a lightness of 34.9%.
#540ba7 hex color contains mainly BLUE.
The closest web safe color of #540ba7 is #660099
#540ba7 hex color has a decimal value of 5508007.
HEX | 540ba7 | #540ba7 |
---|---|---|
RGB | 84, 11, 167 | rgb(84, 11, 167) |
RGB Percent | 32.94, 4.31, 65.49 | rgb(32.94, 4.31, 65.49) |
CMYK | 50, 93, 0, 35 | |
HSL | 268.1°, 87.64, 34.9 | hsl(268.1, 87.64%, 34.9%) |
HSV | 268.1°, 93.4, 65.5 |
XYZ | 10.751, 4.914, 36.941 |
---|---|
Hunter Lab | 22.168, 47.777, -83.286 |
CIE-LAB | 26.488, 58.67, -66.235 |
CIE-LCH | 26.488, 88.483, 311.534 |
CIE-LUV | 49.7, 93.41, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #540ba7
CMYK percent of color #540ba7
Text with hexadecimal color #540ba7
This text has a font color of #540ba7
<p style="color:#540ba7">Text here</p>
#540ba7 Background Color
This box has a background color of #540ba7
<div style="background-color:#540ba7">Text here</div>
#540ba7 Border Color
This box has a border color of #540ba7
<div style="border: 4px solid #540ba7">Text here</div>
CSS codes
<p style="color:#540ba7">Text here</p>
<div style="background-color:#540ba7">Text here</div>
<div style="border: 4px solid #540ba7">Text here</div>
#540ba7 Color on white background
This is how a font and box color of #540ba7 will look
on a white background.
#540ba7 Color on black background
This is how a font and box color of #540ba7 hex color will look
on a black background.