In RGB color space, #402295 hex color has a red value of 64, a green value of 34 and a blue value of 149.
In CMYK color space (used in color printing), #402295 hex color is composed of 57.05% cyan, 77.18% magenta, 0% yellow and 41.57% black.
#402295 color has a hue of 255.7 degrees, a saturation of 62.84% and a lightness of 35.9%.
#402295 hex color contains mainly BLUE.
The closest web safe color of #402295 is #333399
#402295 hex color has a decimal value of 4203157.
HEX | 402295 | #402295 |
---|---|---|
RGB | 64, 34, 149 | rgb(64, 34, 149) |
RGB Percent | 25.1, 13.33, 58.43 | rgb(25.1, 13.33, 58.43) |
CMYK | 57, 77, 0, 42 | |
HSL | 255.7°, 62.84, 35.9 | hsl(255.7, 62.84%, 35.9%) |
HSV | 255.7°, 77.2, 58.4 |
XYZ | 8.111, 4.404, 28.856 |
---|---|
Hunter Lab | 20.986, 32.265, -66.836 |
CIE-LAB | 24.964, 43.561, -57.838 |
CIE-LCH | 24.964, 72.407, 306.985 |
CIE-LUV | 57.05, 77.18, 0, 41.57 |
Web Safe | 333399 |
RGB percent of color #402295
CMYK percent of color #402295
Text with hexadecimal color #402295
This text has a font color of #402295
<p style="color:#402295">Text here</p>
#402295 Background Color
This box has a background color of #402295
<div style="background-color:#402295">Text here</div>
#402295 Border Color
This box has a border color of #402295
<div style="border: 4px solid #402295">Text here</div>
CSS codes
<p style="color:#402295">Text here</p>
<div style="background-color:#402295">Text here</div>
<div style="border: 4px solid #402295">Text here</div>
#402295 Color on white background
This is how a font and box color of #402295 will look
on a white background.
#402295 Color on black background
This is how a font and box color of #402295 hex color will look
on a black background.