In RGB color space, #542cb8 hex color has a red value of 84, a green value of 44 and a blue value of 184.
In CMYK color space (used in color printing), #542cb8 hex color is composed of 54.35% cyan, 76.09% magenta, 0% yellow and 27.84% black.
#542cb8 color has a hue of 257.1 degrees, a saturation of 61.4% and a lightness of 44.7%.
#542cb8 hex color contains mainly BLUE.
The closest web safe color of #542cb8 is #6633cc
#542cb8 hex color has a decimal value of 5516472.
HEX | 542cb8 | #542cb8 |
---|---|---|
RGB | 84, 44, 184 | rgb(84, 44, 184) |
RGB Percent | 32.94, 17.25, 72.16 | rgb(32.94, 17.25, 72.16) |
CMYK | 54, 76, 0, 28 | |
HSL | 257.1°, 61.4, 44.7 | hsl(257.1, 61.4%, 44.7%) |
HSV | 257.1°, 76.1, 72.2 |
XYZ | 13.209, 7.147, 46.031 |
---|---|
Hunter Lab | 26.734, 41.411, -83.373 |
CIE-LAB | 32.139, 51.492, -67.106 |
CIE-LCH | 32.139, 84.585, 307.5 |
CIE-LUV | 54.35, 76.09, 0, 27.84 |
Web Safe | 6633cc |
RGB percent of color #542cb8
CMYK percent of color #542cb8
Text with hexadecimal color #542cb8
This text has a font color of #542cb8
<p style="color:#542cb8">Text here</p>
#542cb8 Background Color
This box has a background color of #542cb8
<div style="background-color:#542cb8">Text here</div>
#542cb8 Border Color
This box has a border color of #542cb8
<div style="border: 4px solid #542cb8">Text here</div>
CSS codes
<p style="color:#542cb8">Text here</p>
<div style="background-color:#542cb8">Text here</div>
<div style="border: 4px solid #542cb8">Text here</div>
#542cb8 Color on white background
This is how a font and box color of #542cb8 will look
on a white background.
#542cb8 Color on black background
This is how a font and box color of #542cb8 hex color will look
on a black background.