In RGB color space, #540495 hex color has a red value of 84, a green value of 4 and a blue value of 149.
In CMYK color space (used in color printing), #540495 hex color is composed of 43.62% cyan, 97.32% magenta, 0% yellow and 41.57% black.
#540495 color has a hue of 273.1 degrees, a saturation of 94.77% and a lightness of 30%.
#540495 hex color contains mainly BLUE.
The closest web safe color of #540495 is #660099
#540495 hex color has a decimal value of 5506197.
HEX | 540495 | #540495 |
---|---|---|
RGB | 84, 4, 149 | rgb(84, 4, 149) |
RGB Percent | 32.94, 1.57, 58.43 | rgb(32.94, 1.57, 58.43) |
CMYK | 44, 97, 0, 42 | |
HSL | 273.1°, 94.77, 30 | hsl(273.1, 94.77%, 30%) |
HSV | 273.1°, 97.3, 58.4 |
XYZ | 9.124, 4.142, 28.752 |
---|---|
Hunter Lab | 20.352, 44.408, -69.515 |
CIE-LAB | 24.135, 55.941, -59.113 |
CIE-LCH | 24.135, 81.386, 313.421 |
CIE-LUV | 43.62, 97.32, 0, 41.57 |
Web Safe | 660099 |
RGB percent of color #540495
CMYK percent of color #540495
Text with hexadecimal color #540495
This text has a font color of #540495
<p style="color:#540495">Text here</p>
#540495 Background Color
This box has a background color of #540495
<div style="background-color:#540495">Text here</div>
#540495 Border Color
This box has a border color of #540495
<div style="border: 4px solid #540495">Text here</div>
CSS codes
<p style="color:#540495">Text here</p>
<div style="background-color:#540495">Text here</div>
<div style="border: 4px solid #540495">Text here</div>
#540495 Color on white background
This is how a font and box color of #540495 will look
on a white background.
#540495 Color on black background
This is how a font and box color of #540495 hex color will look
on a black background.