In RGB color space, #400498 hex color has a red value of 64, a green value of 4 and a blue value of 152.
In CMYK color space (used in color printing), #400498 hex color is composed of 57.89% cyan, 97.37% magenta, 0% yellow and 40.39% black.
#400498 color has a hue of 264.3 degrees, a saturation of 94.87% and a lightness of 30.6%.
#400498 hex color contains mainly BLUE.
The closest web safe color of #400498 is #330099
#400498 hex color has a decimal value of 4195480.
HEX | 400498 | #400498 |
---|---|---|
RGB | 64, 4, 152 | rgb(64, 4, 152) |
RGB Percent | 25.1, 1.57, 59.61 | rgb(25.1, 1.57, 59.61) |
CMYK | 58, 97, 0, 40 | |
HSL | 264.3°, 94.87, 30.6 | hsl(264.3, 94.87%, 30.6%) |
HSV | 264.3°, 97.4, 59.6 |
XYZ | 7.825, 3.444, 29.958 |
---|---|
Hunter Lab | 18.558, 42.788, -82.721 |
CIE-LAB | 21.741, 54.837, -65.011 |
CIE-LCH | 21.741, 85.05, 310.148 |
CIE-LUV | 57.89, 97.37, 0, 40.39 |
Web Safe | 330099 |
RGB percent of color #400498
CMYK percent of color #400498
Text with hexadecimal color #400498
This text has a font color of #400498
<p style="color:#400498">Text here</p>
#400498 Background Color
This box has a background color of #400498
<div style="background-color:#400498">Text here</div>
#400498 Border Color
This box has a border color of #400498
<div style="border: 4px solid #400498">Text here</div>
CSS codes
<p style="color:#400498">Text here</p>
<div style="background-color:#400498">Text here</div>
<div style="border: 4px solid #400498">Text here</div>
#400498 Color on white background
This is how a font and box color of #400498 will look
on a white background.
#400498 Color on black background
This is how a font and box color of #400498 hex color will look
on a black background.