In RGB color space, #540f7c hex color has a red value of 84, a green value of 15 and a blue value of 124.
In CMYK color space (used in color printing), #540f7c hex color is composed of 32.26% cyan, 87.9% magenta, 0% yellow and 51.37% black.
#540f7c color has a hue of 278 degrees, a saturation of 78.42% and a lightness of 27.3%.
#540f7c hex color contains mainly BLUE.
The closest web safe color of #540f7c is #660066
#540f7c hex color has a decimal value of 5508988.
HEX | 540f7c | #540f7c |
---|---|---|
RGB | 84, 15, 124 | rgb(84, 15, 124) |
RGB Percent | 32.94, 5.88, 48.63 | rgb(32.94, 5.88, 48.63) |
CMYK | 32, 88, 0, 51 | |
HSL | 278°, 78.42, 27.3 | hsl(278, 78.42%, 27.3%) |
HSV | 278°, 87.9, 48.6 |
XYZ | 7.465, 3.682, 19.386 |
---|---|
Hunter Lab | 19.189, 35.863, -46.468 |
CIE-LAB | 22.591, 47.784, -45.978 |
CIE-LCH | 22.591, 66.312, 316.103 |
CIE-LUV | 32.26, 87.9, 0, 51.37 |
Web Safe | 660066 |
RGB percent of color #540f7c
CMYK percent of color #540f7c
Text with hexadecimal color #540f7c
This text has a font color of #540f7c
<p style="color:#540f7c">Text here</p>
#540f7c Background Color
This box has a background color of #540f7c
<div style="background-color:#540f7c">Text here</div>
#540f7c Border Color
This box has a border color of #540f7c
<div style="border: 4px solid #540f7c">Text here</div>
CSS codes
<p style="color:#540f7c">Text here</p>
<div style="background-color:#540f7c">Text here</div>
<div style="border: 4px solid #540f7c">Text here</div>
#540f7c Color on white background
This is how a font and box color of #540f7c will look
on a white background.
#540f7c Color on black background
This is how a font and box color of #540f7c hex color will look
on a black background.