In RGB color space, #402cd6 hex color has a red value of 64, a green value of 44 and a blue value of 214.
In CMYK color space (used in color printing), #402cd6 hex color is composed of 70.09% cyan, 79.44% magenta, 0% yellow and 16.08% black.
#402cd6 color has a hue of 247.1 degrees, a saturation of 67.46% and a lightness of 50.6%.
#402cd6 hex color contains mainly BLUE.
The closest web safe color of #402cd6 is #3333cc
#402cd6 hex color has a decimal value of 4205782.
HEX | 402cd6 | #402cd6 |
---|---|---|
RGB | 64, 44, 214 | rgb(64, 44, 214) |
RGB Percent | 25.1, 17.25, 83.92 | rgb(25.1, 17.25, 83.92) |
CMYK | 70, 79, 0, 16 | |
HSL | 247.1°, 67.46, 50.6 | hsl(247.1, 67.46%, 50.6%) |
HSV | 247.1°, 79.4, 83.9 |
XYZ | 15.153, 7.746, 64.315 |
---|---|
Hunter Lab | 27.832, 48.479, -117.529 |
CIE-LAB | 33.448, 57.978, -82.553 |
CIE-LCH | 33.448, 100.878, 305.081 |
CIE-LUV | 70.09, 79.44, 0, 16.08 |
Web Safe | 3333cc |
RGB percent of color #402cd6
CMYK percent of color #402cd6
Text with hexadecimal color #402cd6
This text has a font color of #402cd6
<p style="color:#402cd6">Text here</p>
#402cd6 Background Color
This box has a background color of #402cd6
<div style="background-color:#402cd6">Text here</div>
#402cd6 Border Color
This box has a border color of #402cd6
<div style="border: 4px solid #402cd6">Text here</div>
CSS codes
<p style="color:#402cd6">Text here</p>
<div style="background-color:#402cd6">Text here</div>
<div style="border: 4px solid #402cd6">Text here</div>
#402cd6 Color on white background
This is how a font and box color of #402cd6 will look
on a white background.
#402cd6 Color on black background
This is how a font and box color of #402cd6 hex color will look
on a black background.