In RGB color space, #402875 hex color has a red value of 64, a green value of 40 and a blue value of 117.
In CMYK color space (used in color printing), #402875 hex color is composed of 45.3% cyan, 65.81% magenta, 0% yellow and 54.12% black.
#402875 color has a hue of 258.7 degrees, a saturation of 49.04% and a lightness of 30.8%.
#402875 hex color contains mainly BLUE.
The closest web safe color of #402875 is #333366
#402875 hex color has a decimal value of 4204661.
HEX | 402875 | #402875 |
---|---|---|
RGB | 64, 40, 117 | rgb(64, 40, 117) |
RGB Percent | 25.1, 15.69, 45.88 | rgb(25.1, 15.69, 45.88) |
CMYK | 45, 66, 0, 54 | |
HSL | 258.7°, 49.04, 30.8 | hsl(258.7, 49.04%, 30.8%) |
HSV | 258.7°, 65.8, 45.9 |
XYZ | 6.084, 3.892, 17.26 |
---|---|
Hunter Lab | 19.728, 20.524, -38.063 |
CIE-LAB | 23.311, 30.566, -40.463 |
CIE-LCH | 23.311, 50.71, 307.068 |
CIE-LUV | 45.3, 65.81, 0, 54.12 |
Web Safe | 333366 |
RGB percent of color #402875
CMYK percent of color #402875
Text with hexadecimal color #402875
This text has a font color of #402875
<p style="color:#402875">Text here</p>
#402875 Background Color
This box has a background color of #402875
<div style="background-color:#402875">Text here</div>
#402875 Border Color
This box has a border color of #402875
<div style="border: 4px solid #402875">Text here</div>
CSS codes
<p style="color:#402875">Text here</p>
<div style="background-color:#402875">Text here</div>
<div style="border: 4px solid #402875">Text here</div>
#402875 Color on white background
This is how a font and box color of #402875 will look
on a white background.
#402875 Color on black background
This is how a font and box color of #402875 hex color will look
on a black background.