In RGB color space, #542e98 hex color has a red value of 84, a green value of 46 and a blue value of 152.
In CMYK color space (used in color printing), #542e98 hex color is composed of 44.74% cyan, 69.74% magenta, 0% yellow and 40.39% black.
#542e98 color has a hue of 261.5 degrees, a saturation of 53.54% and a lightness of 38.8%.
#542e98 hex color contains mainly BLUE.
The closest web safe color of #542e98 is #663399
#542e98 hex color has a decimal value of 5516952.
HEX | 542e98 | #542e98 |
---|---|---|
RGB | 84, 46, 152 | rgb(84, 46, 152) |
RGB Percent | 32.94, 18.04, 59.61 | rgb(32.94, 18.04, 59.61) |
CMYK | 45, 70, 0, 40 | |
HSL | 261.5°, 53.54, 38.8 | hsl(261.5, 53.54%, 38.8%) |
HSV | 261.5°, 69.7, 59.6 |
XYZ | 10.301, 6.106, 30.341 |
---|---|
Hunter Lab | 24.71, 31.168, -55.503 |
CIE-LAB | 29.678, 41.498, -51.877 |
CIE-LCH | 29.678, 66.433, 308.657 |
CIE-LUV | 44.74, 69.74, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #542e98
CMYK percent of color #542e98
Text with hexadecimal color #542e98
This text has a font color of #542e98
<p style="color:#542e98">Text here</p>
#542e98 Background Color
This box has a background color of #542e98
<div style="background-color:#542e98">Text here</div>
#542e98 Border Color
This box has a border color of #542e98
<div style="border: 4px solid #542e98">Text here</div>
CSS codes
<p style="color:#542e98">Text here</p>
<div style="background-color:#542e98">Text here</div>
<div style="border: 4px solid #542e98">Text here</div>
#542e98 Color on white background
This is how a font and box color of #542e98 will look
on a white background.
#542e98 Color on black background
This is how a font and box color of #542e98 hex color will look
on a black background.