In RGB color space, #542989 hex color has a red value of 84, a green value of 41 and a blue value of 137.
In CMYK color space (used in color printing), #542989 hex color is composed of 38.69% cyan, 70.07% magenta, 0% yellow and 46.27% black.
#542989 color has a hue of 266.9 degrees, a saturation of 53.93% and a lightness of 34.9%.
#542989 hex color contains mainly BLUE.
The closest web safe color of #542989 is #663399
#542989 hex color has a decimal value of 5515657.
HEX | 542989 | #542989 |
---|---|---|
RGB | 84, 41, 137 | rgb(84, 41, 137) |
RGB Percent | 32.94, 16.08, 53.73 | rgb(32.94, 16.08, 53.73) |
CMYK | 39, 70, 0, 46 | |
HSL | 266.9°, 53.93, 34.9 | hsl(266.9, 53.93%, 34.9%) |
HSV | 266.9°, 70.1, 53.7 |
XYZ | 8.964, 5.277, 24.213 |
---|---|
Hunter Lab | 22.972, 29.454, -46.414 |
CIE-LAB | 27.51, 40.05, -46.152 |
CIE-LCH | 27.51, 61.107, 310.951 |
CIE-LUV | 38.69, 70.07, 0, 46.27 |
Web Safe | 663399 |
RGB percent of color #542989
CMYK percent of color #542989
Text with hexadecimal color #542989
This text has a font color of #542989
<p style="color:#542989">Text here</p>
#542989 Background Color
This box has a background color of #542989
<div style="background-color:#542989">Text here</div>
#542989 Border Color
This box has a border color of #542989
<div style="border: 4px solid #542989">Text here</div>
CSS codes
<p style="color:#542989">Text here</p>
<div style="background-color:#542989">Text here</div>
<div style="border: 4px solid #542989">Text here</div>
#542989 Color on white background
This is how a font and box color of #542989 will look
on a white background.
#542989 Color on black background
This is how a font and box color of #542989 hex color will look
on a black background.