In RGB color space, #542688 hex color has a red value of 84, a green value of 38 and a blue value of 136.
In CMYK color space (used in color printing), #542688 hex color is composed of 38.24% cyan, 72.06% magenta, 0% yellow and 46.67% black.
#542688 color has a hue of 268.2 degrees, a saturation of 56.32% and a lightness of 34.1%.
#542688 hex color contains mainly BLUE.
The closest web safe color of #542688 is #663399
#542688 hex color has a decimal value of 5514888.
HEX | 542688 | #542688 |
---|---|---|
RGB | 84, 38, 136 | rgb(84, 38, 136) |
RGB Percent | 32.94, 14.9, 53.33 | rgb(32.94, 14.9, 53.33) |
CMYK | 38, 72, 0, 47 | |
HSL | 268.2°, 56.32, 34.1 | hsl(268.2, 56.32%, 34.1%) |
HSV | 268.2°, 72.1, 53.3 |
XYZ | 8.793, 5.049, 23.804 |
---|---|
Hunter Lab | 22.47, 30.529, -47.081 |
CIE-LAB | 26.874, 41.335, -46.563 |
CIE-LCH | 26.874, 62.263, 311.596 |
CIE-LUV | 38.24, 72.06, 0, 46.67 |
Web Safe | 663399 |
RGB percent of color #542688
CMYK percent of color #542688
Text with hexadecimal color #542688
This text has a font color of #542688
<p style="color:#542688">Text here</p>
#542688 Background Color
This box has a background color of #542688
<div style="background-color:#542688">Text here</div>
#542688 Border Color
This box has a border color of #542688
<div style="border: 4px solid #542688">Text here</div>
CSS codes
<p style="color:#542688">Text here</p>
<div style="background-color:#542688">Text here</div>
<div style="border: 4px solid #542688">Text here</div>
#542688 Color on white background
This is how a font and box color of #542688 will look
on a white background.
#542688 Color on black background
This is how a font and box color of #542688 hex color will look
on a black background.