In RGB color space, #540958 hex color has a red value of 84, a green value of 9 and a blue value of 88.
In CMYK color space (used in color printing), #540958 hex color is composed of 4.55% cyan, 89.77% magenta, 0% yellow and 65.49% black.
#540958 color has a hue of 297 degrees, a saturation of 81.44% and a lightness of 19%.
#540958 hex color contains mainly BLUE.
The closest web safe color of #540958 is #660066
#540958 hex color has a decimal value of 5507416.
HEX | 540958 | #540958 |
---|---|---|
RGB | 84, 9, 88 | rgb(84, 9, 88) |
RGB Percent | 32.94, 3.53, 34.51 | rgb(32.94, 3.53, 34.51) |
CMYK | 5, 90, 0, 65 | |
HSL | 297°, 81.44, 19 | hsl(297, 81.44%, 19%) |
HSV | 297°, 89.8, 34.5 |
XYZ | 5.515, 2.785, 9.479 |
---|---|
Hunter Lab | 16.688, 29.784, -21.995 |
CIE-LAB | 19.161, 42.013, -28.017 |
CIE-LCH | 19.161, 50.498, 326.302 |
CIE-LUV | 4.55, 89.77, 0, 65.49 |
Web Safe | 660066 |
RGB percent of color #540958
CMYK percent of color #540958
Text with hexadecimal color #540958
This text has a font color of #540958
<p style="color:#540958">Text here</p>
#540958 Background Color
This box has a background color of #540958
<div style="background-color:#540958">Text here</div>
#540958 Border Color
This box has a border color of #540958
<div style="border: 4px solid #540958">Text here</div>
CSS codes
<p style="color:#540958">Text here</p>
<div style="background-color:#540958">Text here</div>
<div style="border: 4px solid #540958">Text here</div>
#540958 Color on white background
This is how a font and box color of #540958 will look
on a white background.
#540958 Color on black background
This is how a font and box color of #540958 hex color will look
on a black background.