In RGB color space, #540f7d hex color has a red value of 84, a green value of 15 and a blue value of 125.
In CMYK color space (used in color printing), #540f7d hex color is composed of 32.8% cyan, 88% magenta, 0% yellow and 50.98% black.
#540f7d color has a hue of 277.6 degrees, a saturation of 78.57% and a lightness of 27.5%.
#540f7d hex color contains mainly BLUE.
The closest web safe color of #540f7d is #660066
#540f7d hex color has a decimal value of 5508989.
HEX | 540f7d | #540f7d |
---|---|---|
RGB | 84, 15, 125 | rgb(84, 15, 125) |
RGB Percent | 32.94, 5.88, 49.02 | rgb(32.94, 5.88, 49.02) |
CMYK | 33, 88, 0, 51 | |
HSL | 277.6°, 78.57, 27.5 | hsl(277.6, 78.57%, 27.5%) |
HSV | 277.6°, 88, 49 |
XYZ | 7.529, 3.707, 19.721 |
---|---|
Hunter Lab | 19.254, 36.108, -47.252 |
CIE-LAB | 22.678, 48.019, -46.472 |
CIE-LCH | 22.678, 66.824, 315.938 |
CIE-LUV | 32.8, 88, 0, 50.98 |
Web Safe | 660066 |
RGB percent of color #540f7d
CMYK percent of color #540f7d
Text with hexadecimal color #540f7d
This text has a font color of #540f7d
<p style="color:#540f7d">Text here</p>
#540f7d Background Color
This box has a background color of #540f7d
<div style="background-color:#540f7d">Text here</div>
#540f7d Border Color
This box has a border color of #540f7d
<div style="border: 4px solid #540f7d">Text here</div>
CSS codes
<p style="color:#540f7d">Text here</p>
<div style="background-color:#540f7d">Text here</div>
<div style="border: 4px solid #540f7d">Text here</div>
#540f7d Color on white background
This is how a font and box color of #540f7d will look
on a white background.
#540f7d Color on black background
This is how a font and box color of #540f7d hex color will look
on a black background.