In RGB color space, #540297 hex color has a red value of 84, a green value of 2 and a blue value of 151.
In CMYK color space (used in color printing), #540297 hex color is composed of 44.37% cyan, 98.68% magenta, 0% yellow and 40.78% black.
#540297 color has a hue of 273 degrees, a saturation of 97.39% and a lightness of 30%.
#540297 hex color contains mainly BLUE.
The closest web safe color of #540297 is #660099
#540297 hex color has a decimal value of 5505687.
HEX | 540297 | #540297 |
---|---|---|
RGB | 84, 2, 151 | rgb(84, 2, 151) |
RGB Percent | 32.94, 0.78, 59.22 | rgb(32.94, 0.78, 59.22) |
CMYK | 44, 99, 0, 41 | |
HSL | 273°, 97.39, 30 | hsl(273, 97.39%, 30%) |
HSV | 273°, 98.7, 59.2 |
XYZ | 9.264, 4.163, 29.593 |
---|---|
Hunter Lab | 20.403, 45.34, -71.711 |
CIE-LAB | 24.203, 56.814, -60.235 |
CIE-LCH | 24.203, 82.801, 313.326 |
CIE-LUV | 44.37, 98.68, 0, 40.78 |
Web Safe | 660099 |
RGB percent of color #540297
CMYK percent of color #540297
Text with hexadecimal color #540297
This text has a font color of #540297
<p style="color:#540297">Text here</p>
#540297 Background Color
This box has a background color of #540297
<div style="background-color:#540297">Text here</div>
#540297 Border Color
This box has a border color of #540297
<div style="border: 4px solid #540297">Text here</div>
CSS codes
<p style="color:#540297">Text here</p>
<div style="background-color:#540297">Text here</div>
<div style="border: 4px solid #540297">Text here</div>
#540297 Color on white background
This is how a font and box color of #540297 will look
on a white background.
#540297 Color on black background
This is how a font and box color of #540297 hex color will look
on a black background.