In RGB color space, #402fa2 hex color has a red value of 64, a green value of 47 and a blue value of 162.
In CMYK color space (used in color printing), #402fa2 hex color is composed of 60.49% cyan, 70.99% magenta, 0% yellow and 36.47% black.
#402fa2 color has a hue of 248.9 degrees, a saturation of 55.02% and a lightness of 41%.
#402fa2 hex color contains mainly BLUE.
The closest web safe color of #402fa2 is #333399
#402fa2 hex color has a decimal value of 4206498.
HEX | 402fa2 | #402fa2 |
---|---|---|
RGB | 64, 47, 162 | rgb(64, 47, 162) |
RGB Percent | 25.1, 18.43, 63.53 | rgb(25.1, 18.43, 63.53) |
CMYK | 60, 71, 0, 36 | |
HSL | 248.9°, 55.02, 41 | hsl(248.9, 55.02%, 41%) |
HSV | 248.9°, 71, 63.5 |
XYZ | 9.652, 5.732, 34.78 |
---|---|
Hunter Lab | 23.942, 30.064, -69.372 |
CIE-LAB | 28.726, 40.488, -59.602 |
CIE-LCH | 28.726, 72.053, 304.189 |
CIE-LUV | 60.49, 70.99, 0, 36.47 |
Web Safe | 333399 |
RGB percent of color #402fa2
CMYK percent of color #402fa2
Text with hexadecimal color #402fa2
This text has a font color of #402fa2
<p style="color:#402fa2">Text here</p>
#402fa2 Background Color
This box has a background color of #402fa2
<div style="background-color:#402fa2">Text here</div>
#402fa2 Border Color
This box has a border color of #402fa2
<div style="border: 4px solid #402fa2">Text here</div>
CSS codes
<p style="color:#402fa2">Text here</p>
<div style="background-color:#402fa2">Text here</div>
<div style="border: 4px solid #402fa2">Text here</div>
#402fa2 Color on white background
This is how a font and box color of #402fa2 will look
on a white background.
#402fa2 Color on black background
This is how a font and box color of #402fa2 hex color will look
on a black background.