In RGB color space, #542f98 hex color has a red value of 84, a green value of 47 and a blue value of 152.
In CMYK color space (used in color printing), #542f98 hex color is composed of 44.74% cyan, 69.08% magenta, 0% yellow and 40.39% black.
#542f98 color has a hue of 261.1 degrees, a saturation of 52.76% and a lightness of 39%.
#542f98 hex color contains mainly BLUE.
The closest web safe color of #542f98 is #663399
#542f98 hex color has a decimal value of 5517208.
HEX | 542f98 | #542f98 |
---|---|---|
RGB | 84, 47, 152 | rgb(84, 47, 152) |
RGB Percent | 32.94, 18.43, 59.61 | rgb(32.94, 18.43, 59.61) |
CMYK | 45, 69, 0, 40 | |
HSL | 261.1°, 52.76, 39 | hsl(261.1, 52.76%, 39%) |
HSV | 261.1°, 69.1, 59.6 |
XYZ | 10.34, 6.185, 30.355 |
---|---|
Hunter Lab | 24.87, 30.693, -54.958 |
CIE-LAB | 29.874, 40.953, -51.559 |
CIE-LCH | 29.874, 65.844, 308.46 |
CIE-LUV | 44.74, 69.08, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #542f98
CMYK percent of color #542f98
Text with hexadecimal color #542f98
This text has a font color of #542f98
<p style="color:#542f98">Text here</p>
#542f98 Background Color
This box has a background color of #542f98
<div style="background-color:#542f98">Text here</div>
#542f98 Border Color
This box has a border color of #542f98
<div style="border: 4px solid #542f98">Text here</div>
CSS codes
<p style="color:#542f98">Text here</p>
<div style="background-color:#542f98">Text here</div>
<div style="border: 4px solid #542f98">Text here</div>
#542f98 Color on white background
This is how a font and box color of #542f98 will look
on a white background.
#542f98 Color on black background
This is how a font and box color of #542f98 hex color will look
on a black background.