In RGB color space, #402cd1 hex color has a red value of 64, a green value of 44 and a blue value of 209.
In CMYK color space (used in color printing), #402cd1 hex color is composed of 69.38% cyan, 78.95% magenta, 0% yellow and 18.04% black.
#402cd1 color has a hue of 247.3 degrees, a saturation of 65.22% and a lightness of 49.6%.
#402cd1 hex color contains mainly BLUE.
The closest web safe color of #402cd1 is #3333cc
#402cd1 hex color has a decimal value of 4205777.
HEX | 402cd1 | #402cd1 |
---|---|---|
RGB | 64, 44, 209 | rgb(64, 44, 209) |
RGB Percent | 25.1, 17.25, 81.96 | rgb(25.1, 17.25, 81.96) |
CMYK | 69, 79, 0, 18 | |
HSL | 247.3°, 65.22, 49.6 | hsl(247.3, 65.22%, 49.6%) |
HSV | 247.3°, 78.9, 82 |
XYZ | 14.524, 7.495, 61.003 |
---|---|
Hunter Lab | 27.377, 46.788, -112.949 |
CIE-LAB | 32.908, 56.501, -80.553 |
CIE-LCH | 32.908, 98.393, 305.046 |
CIE-LUV | 69.38, 78.95, 0, 18.04 |
Web Safe | 3333cc |
RGB percent of color #402cd1
CMYK percent of color #402cd1
Text with hexadecimal color #402cd1
This text has a font color of #402cd1
<p style="color:#402cd1">Text here</p>
#402cd1 Background Color
This box has a background color of #402cd1
<div style="background-color:#402cd1">Text here</div>
#402cd1 Border Color
This box has a border color of #402cd1
<div style="border: 4px solid #402cd1">Text here</div>
CSS codes
<p style="color:#402cd1">Text here</p>
<div style="background-color:#402cd1">Text here</div>
<div style="border: 4px solid #402cd1">Text here</div>
#402cd1 Color on white background
This is how a font and box color of #402cd1 will look
on a white background.
#402cd1 Color on black background
This is how a font and box color of #402cd1 hex color will look
on a black background.