In RGB color space, #402498 hex color has a red value of 64, a green value of 36 and a blue value of 152.
In CMYK color space (used in color printing), #402498 hex color is composed of 57.89% cyan, 76.32% magenta, 0% yellow and 40.39% black.
#402498 color has a hue of 254.5 degrees, a saturation of 61.7% and a lightness of 36.9%.
#402498 hex color contains mainly BLUE.
The closest web safe color of #402498 is #333399
#402498 hex color has a decimal value of 4203672.
HEX | 402498 | #402498 |
---|---|---|
RGB | 64, 36, 152 | rgb(64, 36, 152) |
RGB Percent | 25.1, 14.12, 59.61 | rgb(25.1, 14.12, 59.61) |
CMYK | 58, 76, 0, 40 | |
HSL | 254.5°, 61.7, 36.9 | hsl(254.5, 61.7%, 36.9%) |
HSV | 254.5°, 76.3, 59.6 |
XYZ | 8.413, 4.619, 30.154 |
---|---|
Hunter Lab | 21.492, 32.263, -68.142 |
CIE-LAB | 25.621, 43.432, -58.605 |
CIE-LCH | 25.621, 72.944, 306.542 |
CIE-LUV | 57.89, 76.32, 0, 40.39 |
Web Safe | 333399 |
RGB percent of color #402498
CMYK percent of color #402498
Text with hexadecimal color #402498
This text has a font color of #402498
<p style="color:#402498">Text here</p>
#402498 Background Color
This box has a background color of #402498
<div style="background-color:#402498">Text here</div>
#402498 Border Color
This box has a border color of #402498
<div style="border: 4px solid #402498">Text here</div>
CSS codes
<p style="color:#402498">Text here</p>
<div style="background-color:#402498">Text here</div>
<div style="border: 4px solid #402498">Text here</div>
#402498 Color on white background
This is how a font and box color of #402498 will look
on a white background.
#402498 Color on black background
This is how a font and box color of #402498 hex color will look
on a black background.