In RGB color space, #542aa4 hex color has a red value of 84, a green value of 42 and a blue value of 164.
In CMYK color space (used in color printing), #542aa4 hex color is composed of 48.78% cyan, 74.39% magenta, 0% yellow and 35.69% black.
#542aa4 color has a hue of 260.7 degrees, a saturation of 59.22% and a lightness of 40.4%.
#542aa4 hex color contains mainly BLUE.
The closest web safe color of #542aa4 is #663399
#542aa4 hex color has a decimal value of 5515940.
HEX | 542aa4 | #542aa4 |
---|---|---|
RGB | 84, 42, 164 | rgb(84, 42, 164) |
RGB Percent | 32.94, 16.47, 64.31 | rgb(32.94, 16.47, 64.31) |
CMYK | 49, 74, 0, 36 | |
HSL | 260.7°, 59.22, 40.4 | hsl(260.7, 59.22%, 40.4%) |
HSV | 260.7°, 74.4, 64.3 |
XYZ | 11.185, 6.221, 35.733 |
---|---|
Hunter Lab | 24.942, 36.398, -67.482 |
CIE-LAB | 29.963, 46.903, -58.707 |
CIE-LCH | 29.963, 75.143, 308.623 |
CIE-LUV | 48.78, 74.39, 0, 35.69 |
Web Safe | 663399 |
RGB percent of color #542aa4
CMYK percent of color #542aa4
Text with hexadecimal color #542aa4
This text has a font color of #542aa4
<p style="color:#542aa4">Text here</p>
#542aa4 Background Color
This box has a background color of #542aa4
<div style="background-color:#542aa4">Text here</div>
#542aa4 Border Color
This box has a border color of #542aa4
<div style="border: 4px solid #542aa4">Text here</div>
CSS codes
<p style="color:#542aa4">Text here</p>
<div style="background-color:#542aa4">Text here</div>
<div style="border: 4px solid #542aa4">Text here</div>
#542aa4 Color on white background
This is how a font and box color of #542aa4 will look
on a white background.
#542aa4 Color on black background
This is how a font and box color of #542aa4 hex color will look
on a black background.