In RGB color space, #402ea1 hex color has a red value of 64, a green value of 46 and a blue value of 161.
In CMYK color space (used in color printing), #402ea1 hex color is composed of 60.25% cyan, 71.43% magenta, 0% yellow and 36.86% black.
#402ea1 color has a hue of 249.4 degrees, a saturation of 55.56% and a lightness of 40.6%.
#402ea1 hex color contains mainly BLUE.
The closest web safe color of #402ea1 is #333399
#402ea1 hex color has a decimal value of 4206241.
HEX | 402ea1 | #402ea1 |
---|---|---|
RGB | 64, 46, 161 | rgb(64, 46, 161) |
RGB Percent | 25.1, 18.04, 63.14 | rgb(25.1, 18.04, 63.14) |
CMYK | 60, 71, 0, 37 | |
HSL | 249.4°, 55.56, 40.6 | hsl(249.4, 55.56%, 40.6%) |
HSV | 249.4°, 71.4, 63.1 |
XYZ | 9.524, 5.617, 34.3 |
---|---|
Hunter Lab | 23.7, 30.255, -69.217 |
CIE-LAB | 28.425, 40.75, -59.49 |
CIE-LCH | 28.425, 72.108, 304.411 |
CIE-LUV | 60.25, 71.43, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #402ea1
CMYK percent of color #402ea1
Text with hexadecimal color #402ea1
This text has a font color of #402ea1
<p style="color:#402ea1">Text here</p>
#402ea1 Background Color
This box has a background color of #402ea1
<div style="background-color:#402ea1">Text here</div>
#402ea1 Border Color
This box has a border color of #402ea1
<div style="border: 4px solid #402ea1">Text here</div>
CSS codes
<p style="color:#402ea1">Text here</p>
<div style="background-color:#402ea1">Text here</div>
<div style="border: 4px solid #402ea1">Text here</div>
#402ea1 Color on white background
This is how a font and box color of #402ea1 will look
on a white background.
#402ea1 Color on black background
This is how a font and box color of #402ea1 hex color will look
on a black background.