In RGB color space, #540ca9 hex color has a red value of 84, a green value of 12 and a blue value of 169.
In CMYK color space (used in color printing), #540ca9 hex color is composed of 50.3% cyan, 92.9% magenta, 0% yellow and 33.73% black.
#540ca9 color has a hue of 267.5 degrees, a saturation of 86.74% and a lightness of 35.5%.
#540ca9 hex color contains mainly BLUE.
The closest web safe color of #540ca9 is #660099
#540ca9 hex color has a decimal value of 5508265.
HEX | 540ca9 | #540ca9 |
---|---|---|
RGB | 84, 12, 169 | rgb(84, 12, 169) |
RGB Percent | 32.94, 4.71, 66.27 | rgb(32.94, 4.71, 66.27) |
CMYK | 50, 93, 0, 34 | |
HSL | 267.5°, 86.74, 35.5 | hsl(267.5, 86.74%, 35.5%) |
HSV | 267.5°, 92.9, 66.3 |
XYZ | 10.949, 5.012, 37.927 |
---|---|
Hunter Lab | 22.387, 48.12, -84.773 |
CIE-LAB | 26.769, 58.936, -66.982 |
CIE-LCH | 26.769, 89.219, 311.344 |
CIE-LUV | 50.3, 92.9, 0, 33.73 |
Web Safe | 660099 |
RGB percent of color #540ca9
CMYK percent of color #540ca9
Text with hexadecimal color #540ca9
This text has a font color of #540ca9
<p style="color:#540ca9">Text here</p>
#540ca9 Background Color
This box has a background color of #540ca9
<div style="background-color:#540ca9">Text here</div>
#540ca9 Border Color
This box has a border color of #540ca9
<div style="border: 4px solid #540ca9">Text here</div>
CSS codes
<p style="color:#540ca9">Text here</p>
<div style="background-color:#540ca9">Text here</div>
<div style="border: 4px solid #540ca9">Text here</div>
#540ca9 Color on white background
This is how a font and box color of #540ca9 will look
on a white background.
#540ca9 Color on black background
This is how a font and box color of #540ca9 hex color will look
on a black background.