In RGB color space, #542398 hex color has a red value of 84, a green value of 35 and a blue value of 152.
In CMYK color space (used in color printing), #542398 hex color is composed of 44.74% cyan, 76.97% magenta, 0% yellow and 40.39% black.
#542398 color has a hue of 265.1 degrees, a saturation of 62.57% and a lightness of 36.7%.
#542398 hex color contains mainly BLUE.
The closest web safe color of #542398 is #663399
#542398 hex color has a decimal value of 5514136.
HEX | 542398 | #542398 |
---|---|---|
RGB | 84, 35, 152 | rgb(84, 35, 152) |
RGB Percent | 32.94, 13.73, 59.61 | rgb(32.94, 13.73, 59.61) |
CMYK | 45, 77, 0, 40 | |
HSL | 265.1°, 62.57, 36.7 | hsl(265.1, 62.57%, 36.7%) |
HSV | 265.1°, 77, 59.6 |
XYZ | 9.925, 5.354, 30.216 |
---|---|
Hunter Lab | 23.139, 36.072, -61.228 |
CIE-LAB | 27.72, 47.001, -55.073 |
CIE-LCH | 27.72, 72.403, 310.478 |
CIE-LUV | 44.74, 76.97, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #542398
CMYK percent of color #542398
Text with hexadecimal color #542398
This text has a font color of #542398
<p style="color:#542398">Text here</p>
#542398 Background Color
This box has a background color of #542398
<div style="background-color:#542398">Text here</div>
#542398 Border Color
This box has a border color of #542398
<div style="border: 4px solid #542398">Text here</div>
CSS codes
<p style="color:#542398">Text here</p>
<div style="background-color:#542398">Text here</div>
<div style="border: 4px solid #542398">Text here</div>
#542398 Color on white background
This is how a font and box color of #542398 will look
on a white background.
#542398 Color on black background
This is how a font and box color of #542398 hex color will look
on a black background.