In RGB color space, #540858 hex color has a red value of 84, a green value of 8 and a blue value of 88.
In CMYK color space (used in color printing), #540858 hex color is composed of 4.55% cyan, 90.91% magenta, 0% yellow and 65.49% black.
#540858 color has a hue of 297 degrees, a saturation of 83.33% and a lightness of 18.8%.
#540858 hex color contains mainly BLUE.
The closest web safe color of #540858 is #660066
#540858 hex color has a decimal value of 5507160.
HEX | 540858 | #540858 |
---|---|---|
RGB | 84, 8, 88 | rgb(84, 8, 88) |
RGB Percent | 32.94, 3.14, 34.51 | rgb(32.94, 3.14, 34.51) |
CMYK | 5, 91, 0, 65 | |
HSL | 297°, 83.33, 18.8 | hsl(297, 83.33%, 18.8%) |
HSV | 297°, 90.9, 34.5 |
XYZ | 5.504, 2.763, 9.476 |
---|---|
Hunter Lab | 16.622, 30.016, -22.164 |
CIE-LAB | 19.069, 42.284, -28.168 |
CIE-LCH | 19.069, 50.807, 326.33 |
CIE-LUV | 4.55, 90.91, 0, 65.49 |
Web Safe | 660066 |
RGB percent of color #540858
CMYK percent of color #540858
Text with hexadecimal color #540858
This text has a font color of #540858
<p style="color:#540858">Text here</p>
#540858 Background Color
This box has a background color of #540858
<div style="background-color:#540858">Text here</div>
#540858 Border Color
This box has a border color of #540858
<div style="border: 4px solid #540858">Text here</div>
CSS codes
<p style="color:#540858">Text here</p>
<div style="background-color:#540858">Text here</div>
<div style="border: 4px solid #540858">Text here</div>
#540858 Color on white background
This is how a font and box color of #540858 will look
on a white background.
#540858 Color on black background
This is how a font and box color of #540858 hex color will look
on a black background.