In RGB color space, #402297 hex color has a red value of 64, a green value of 34 and a blue value of 151.
In CMYK color space (used in color printing), #402297 hex color is composed of 57.62% cyan, 77.48% magenta, 0% yellow and 40.78% black.
#402297 color has a hue of 255.4 degrees, a saturation of 63.24% and a lightness of 36.3%.
#402297 hex color contains mainly BLUE.
The closest web safe color of #402297 is #333399
#402297 hex color has a decimal value of 4203159.
HEX | 402297 | #402297 |
---|---|---|
RGB | 64, 34, 151 | rgb(64, 34, 151) |
RGB Percent | 25.1, 13.33, 59.22 | rgb(25.1, 13.33, 59.22) |
CMYK | 58, 77, 0, 41 | |
HSL | 255.4°, 63.24, 36.3 | hsl(255.4, 63.24%, 36.3%) |
HSV | 255.4°, 77.5, 59.2 |
XYZ | 8.272, 4.468, 29.705 |
---|---|
Hunter Lab | 21.138, 32.863, -68.525 |
CIE-LAB | 25.162, 44.156, -58.745 |
CIE-LCH | 25.162, 73.49, 306.931 |
CIE-LUV | 57.62, 77.48, 0, 40.78 |
Web Safe | 333399 |
RGB percent of color #402297
CMYK percent of color #402297
Text with hexadecimal color #402297
This text has a font color of #402297
<p style="color:#402297">Text here</p>
#402297 Background Color
This box has a background color of #402297
<div style="background-color:#402297">Text here</div>
#402297 Border Color
This box has a border color of #402297
<div style="border: 4px solid #402297">Text here</div>
CSS codes
<p style="color:#402297">Text here</p>
<div style="background-color:#402297">Text here</div>
<div style="border: 4px solid #402297">Text here</div>
#402297 Color on white background
This is how a font and box color of #402297 will look
on a white background.
#402297 Color on black background
This is how a font and box color of #402297 hex color will look
on a black background.