In RGB color space, #540c94 hex color has a red value of 84, a green value of 12 and a blue value of 148.
In CMYK color space (used in color printing), #540c94 hex color is composed of 43.24% cyan, 91.89% magenta, 0% yellow and 41.96% black.
#540c94 color has a hue of 271.8 degrees, a saturation of 85% and a lightness of 31.4%.
#540c94 hex color contains mainly BLUE.
The closest web safe color of #540c94 is #660099
#540c94 hex color has a decimal value of 5508244.
HEX | 540c94 | #540c94 |
---|---|---|
RGB | 84, 12, 148 | rgb(84, 12, 148) |
RGB Percent | 32.94, 4.71, 58.04 | rgb(32.94, 4.71, 58.04) |
CMYK | 43, 92, 0, 42 | |
HSL | 271.8°, 85, 31.4 | hsl(271.8, 85%, 31.4%) |
HSV | 271.8°, 91.9, 58 |
XYZ | 9.133, 4.286, 28.363 |
---|---|
Hunter Lab | 20.703, 42.516, -66.736 |
CIE-LAB | 24.595, 54.034, -57.738 |
CIE-LCH | 24.595, 79.078, 313.102 |
CIE-LUV | 43.24, 91.89, 0, 41.96 |
Web Safe | 660099 |
RGB percent of color #540c94
CMYK percent of color #540c94
Text with hexadecimal color #540c94
This text has a font color of #540c94
<p style="color:#540c94">Text here</p>
#540c94 Background Color
This box has a background color of #540c94
<div style="background-color:#540c94">Text here</div>
#540c94 Border Color
This box has a border color of #540c94
<div style="border: 4px solid #540c94">Text here</div>
CSS codes
<p style="color:#540c94">Text here</p>
<div style="background-color:#540c94">Text here</div>
<div style="border: 4px solid #540c94">Text here</div>
#540c94 Color on white background
This is how a font and box color of #540c94 will look
on a white background.
#540c94 Color on black background
This is how a font and box color of #540c94 hex color will look
on a black background.