In RGB color space, #540587 hex color has a red value of 84, a green value of 5 and a blue value of 135.
In CMYK color space (used in color printing), #540587 hex color is composed of 37.78% cyan, 96.3% magenta, 0% yellow and 47.06% black.
#540587 color has a hue of 276.5 degrees, a saturation of 92.86% and a lightness of 27.5%.
#540587 hex color contains mainly BLUE.
The closest web safe color of #540587 is #660099
#540587 hex color has a decimal value of 5506439.
HEX | 540587 | #540587 |
---|---|---|
RGB | 84, 5, 135 | rgb(84, 5, 135) |
RGB Percent | 32.94, 1.96, 52.94 | rgb(32.94, 1.96, 52.94) |
CMYK | 38, 96, 0, 47 | |
HSL | 276.5°, 92.86, 27.5 | hsl(276.5, 92.86%, 27.5%) |
HSV | 276.5°, 96.3, 52.9 |
XYZ | 8.084, 3.743, 23.218 |
---|---|
Hunter Lab | 19.347, 40.729, -57.611 |
CIE-LAB | 22.803, 52.633, -52.585 |
CIE-LCH | 22.803, 74.4, 315.026 |
CIE-LUV | 37.78, 96.3, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #540587
CMYK percent of color #540587
Text with hexadecimal color #540587
This text has a font color of #540587
<p style="color:#540587">Text here</p>
#540587 Background Color
This box has a background color of #540587
<div style="background-color:#540587">Text here</div>
#540587 Border Color
This box has a border color of #540587
<div style="border: 4px solid #540587">Text here</div>
CSS codes
<p style="color:#540587">Text here</p>
<div style="background-color:#540587">Text here</div>
<div style="border: 4px solid #540587">Text here</div>
#540587 Color on white background
This is how a font and box color of #540587 will look
on a white background.
#540587 Color on black background
This is how a font and box color of #540587 hex color will look
on a black background.