In RGB color space, #540387 hex color has a red value of 84, a green value of 3 and a blue value of 135.
In CMYK color space (used in color printing), #540387 hex color is composed of 37.78% cyan, 97.78% magenta, 0% yellow and 47.06% black.
#540387 color has a hue of 276.8 degrees, a saturation of 95.65% and a lightness of 27.1%.
#540387 hex color contains mainly BLUE.
The closest web safe color of #540387 is #660099
#540387 hex color has a decimal value of 5505927.
HEX | 540387 | #540387 |
---|---|---|
RGB | 84, 3, 135 | rgb(84, 3, 135) |
RGB Percent | 32.94, 1.18, 52.94 | rgb(32.94, 1.18, 52.94) |
CMYK | 38, 98, 0, 47 | |
HSL | 276.8°, 95.65, 27.1 | hsl(276.8, 95.65%, 27.1%) |
HSV | 276.8°, 97.8, 52.9 |
XYZ | 8.062, 3.699, 23.211 |
---|---|
Hunter Lab | 19.233, 41.166, -58.091 |
CIE-LAB | 22.65, 53.091, -52.836 |
CIE-LCH | 22.65, 74.902, 315.138 |
CIE-LUV | 37.78, 97.78, 0, 47.06 |
Web Safe | 660099 |
RGB percent of color #540387
CMYK percent of color #540387
Text with hexadecimal color #540387
This text has a font color of #540387
<p style="color:#540387">Text here</p>
#540387 Background Color
This box has a background color of #540387
<div style="background-color:#540387">Text here</div>
#540387 Border Color
This box has a border color of #540387
<div style="border: 4px solid #540387">Text here</div>
CSS codes
<p style="color:#540387">Text here</p>
<div style="background-color:#540387">Text here</div>
<div style="border: 4px solid #540387">Text here</div>
#540387 Color on white background
This is how a font and box color of #540387 will look
on a white background.
#540387 Color on black background
This is how a font and box color of #540387 hex color will look
on a black background.