In RGB color space, #540ca3 hex color has a red value of 84, a green value of 12 and a blue value of 163.
In CMYK color space (used in color printing), #540ca3 hex color is composed of 48.47% cyan, 92.64% magenta, 0% yellow and 36.08% black.
#540ca3 color has a hue of 268.6 degrees, a saturation of 86.29% and a lightness of 34.3%.
#540ca3 hex color contains mainly BLUE.
The closest web safe color of #540ca3 is #660099
#540ca3 hex color has a decimal value of 5508259.
HEX | 540ca3 | #540ca3 |
---|---|---|
RGB | 84, 12, 163 | rgb(84, 12, 163) |
RGB Percent | 32.94, 4.71, 63.92 | rgb(32.94, 4.71, 63.92) |
CMYK | 48, 93, 0, 36 | |
HSL | 268.6°, 86.29, 34.3 | hsl(268.6, 86.29%, 34.3%) |
HSV | 268.6°, 92.6, 63.9 |
XYZ | 10.398, 4.792, 35.027 |
---|---|
Hunter Lab | 21.891, 46.478, -79.546 |
CIE-LAB | 26.134, 57.522, -64.395 |
CIE-LCH | 26.134, 86.345, 311.773 |
CIE-LUV | 48.47, 92.64, 0, 36.08 |
Web Safe | 660099 |
RGB percent of color #540ca3
CMYK percent of color #540ca3
Text with hexadecimal color #540ca3
This text has a font color of #540ca3
<p style="color:#540ca3">Text here</p>
#540ca3 Background Color
This box has a background color of #540ca3
<div style="background-color:#540ca3">Text here</div>
#540ca3 Border Color
This box has a border color of #540ca3
<div style="border: 4px solid #540ca3">Text here</div>
CSS codes
<p style="color:#540ca3">Text here</p>
<div style="background-color:#540ca3">Text here</div>
<div style="border: 4px solid #540ca3">Text here</div>
#540ca3 Color on white background
This is how a font and box color of #540ca3 will look
on a white background.
#540ca3 Color on black background
This is how a font and box color of #540ca3 hex color will look
on a black background.