In RGB color space, #542387 hex color has a red value of 84, a green value of 35 and a blue value of 135.
In CMYK color space (used in color printing), #542387 hex color is composed of 37.78% cyan, 74.07% magenta, 0% yellow and 47.06% black.
#542387 color has a hue of 269.4 degrees, a saturation of 58.82% and a lightness of 33.3%.
#542387 hex color contains mainly BLUE.
The closest web safe color of #542387 is #663399
#542387 hex color has a decimal value of 5514119.
HEX | 542387 | #542387 |
---|---|---|
RGB | 84, 35, 135 | rgb(84, 35, 135) |
RGB Percent | 32.94, 13.73, 52.94 | rgb(32.94, 13.73, 52.94) |
CMYK | 38, 74, 0, 47 | |
HSL | 269.4°, 58.82, 33.3 | hsl(269.4, 58.82%, 33.3%) |
HSV | 269.4°, 74.1, 52.9 |
XYZ | 8.63, 4.836, 23.4 |
---|---|
Hunter Lab | 21.991, 31.566, -47.695 |
CIE-LAB | 26.262, 42.565, -46.932 |
CIE-LCH | 26.262, 63.359, 312.206 |
CIE-LUV | 37.78, 74.07, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #542387
CMYK percent of color #542387
Text with hexadecimal color #542387
This text has a font color of #542387
<p style="color:#542387">Text here</p>
#542387 Background Color
This box has a background color of #542387
<div style="background-color:#542387">Text here</div>
#542387 Border Color
This box has a border color of #542387
<div style="border: 4px solid #542387">Text here</div>
CSS codes
<p style="color:#542387">Text here</p>
<div style="background-color:#542387">Text here</div>
<div style="border: 4px solid #542387">Text here</div>
#542387 Color on white background
This is how a font and box color of #542387 will look
on a white background.
#542387 Color on black background
This is how a font and box color of #542387 hex color will look
on a black background.