In RGB color space, #540aa7 hex color has a red value of 84, a green value of 10 and a blue value of 167.
In CMYK color space (used in color printing), #540aa7 hex color is composed of 49.7% cyan, 94.01% magenta, 0% yellow and 34.51% black.
#540aa7 color has a hue of 268.3 degrees, a saturation of 88.7% and a lightness of 34.7%.
#540aa7 hex color contains mainly BLUE.
The closest web safe color of #540aa7 is #660099
#540aa7 hex color has a decimal value of 5507751.
HEX | 540aa7 | #540aa7 |
---|---|---|
RGB | 84, 10, 167 | rgb(84, 10, 167) |
RGB Percent | 32.94, 3.92, 65.49 | rgb(32.94, 3.92, 65.49) |
CMYK | 50, 94, 0, 35 | |
HSL | 268.3°, 88.7, 34.7 | hsl(268.3, 88.7%, 34.7%) |
HSV | 268.3°, 94, 65.5 |
XYZ | 10.74, 4.892, 36.937 |
---|---|
Hunter Lab | 22.118, 47.97, -83.532 |
CIE-LAB | 26.425, 58.861, -66.34 |
CIE-LCH | 26.425, 88.688, 311.581 |
CIE-LUV | 49.7, 94.01, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #540aa7
CMYK percent of color #540aa7
Text with hexadecimal color #540aa7
This text has a font color of #540aa7
<p style="color:#540aa7">Text here</p>
#540aa7 Background Color
This box has a background color of #540aa7
<div style="background-color:#540aa7">Text here</div>
#540aa7 Border Color
This box has a border color of #540aa7
<div style="border: 4px solid #540aa7">Text here</div>
CSS codes
<p style="color:#540aa7">Text here</p>
<div style="background-color:#540aa7">Text here</div>
<div style="border: 4px solid #540aa7">Text here</div>
#540aa7 Color on white background
This is how a font and box color of #540aa7 will look
on a white background.
#540aa7 Color on black background
This is how a font and box color of #540aa7 hex color will look
on a black background.