In RGB color space, #402895 hex color has a red value of 64, a green value of 40 and a blue value of 149.
In CMYK color space (used in color printing), #402895 hex color is composed of 57.05% cyan, 73.15% magenta, 0% yellow and 41.57% black.
#402895 color has a hue of 253.2 degrees, a saturation of 57.67% and a lightness of 37.1%.
#402895 hex color contains mainly BLUE.
The closest web safe color of #402895 is #333399
#402895 hex color has a decimal value of 4204693.
HEX | 402895 | #402895 |
---|---|---|
RGB | 64, 40, 149 | rgb(64, 40, 149) |
RGB Percent | 25.1, 15.69, 58.43 | rgb(25.1, 15.69, 58.43) |
CMYK | 57, 73, 0, 42 | |
HSL | 253.2°, 57.67, 37.1 | hsl(253.2, 57.67%, 37.1%) |
HSV | 253.2°, 73.2, 58.4 |
XYZ | 8.298, 4.777, 28.919 |
---|---|
Hunter Lab | 21.856, 29.521, -63.149 |
CIE-LAB | 26.09, 40.389, -55.991 |
CIE-LCH | 26.09, 69.038, 305.805 |
CIE-LUV | 57.05, 73.15, 0, 41.57 |
Web Safe | 333399 |
RGB percent of color #402895
CMYK percent of color #402895
Text with hexadecimal color #402895
This text has a font color of #402895
<p style="color:#402895">Text here</p>
#402895 Background Color
This box has a background color of #402895
<div style="background-color:#402895">Text here</div>
#402895 Border Color
This box has a border color of #402895
<div style="border: 4px solid #402895">Text here</div>
CSS codes
<p style="color:#402895">Text here</p>
<div style="background-color:#402895">Text here</div>
<div style="border: 4px solid #402895">Text here</div>
#402895 Color on white background
This is how a font and box color of #402895 will look
on a white background.
#402895 Color on black background
This is how a font and box color of #402895 hex color will look
on a black background.