In RGB color space, #402ca1 hex color has a red value of 64, a green value of 44 and a blue value of 161.
In CMYK color space (used in color printing), #402ca1 hex color is composed of 60.25% cyan, 72.67% magenta, 0% yellow and 36.86% black.
#402ca1 color has a hue of 250.3 degrees, a saturation of 57.07% and a lightness of 40.2%.
#402ca1 hex color contains mainly BLUE.
The closest web safe color of #402ca1 is #333399
#402ca1 hex color has a decimal value of 4205729.
HEX | 402ca1 | #402ca1 |
---|---|---|
RGB | 64, 44, 161 | rgb(64, 44, 161) |
RGB Percent | 25.1, 17.25, 63.14 | rgb(25.1, 17.25, 63.14) |
CMYK | 60, 73, 0, 37 | |
HSL | 250.3°, 57.07, 40.2 | hsl(250.3, 57.07%, 40.2%) |
HSV | 250.3°, 72.7, 63.1 |
XYZ | 9.448, 5.465, 34.275 |
---|---|
Hunter Lab | 23.377, 31.231, -70.565 |
CIE-LAB | 28.02, 41.874, -60.154 |
CIE-LCH | 28.02, 73.293, 304.842 |
CIE-LUV | 60.25, 72.67, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #402ca1
CMYK percent of color #402ca1
Text with hexadecimal color #402ca1
This text has a font color of #402ca1
<p style="color:#402ca1">Text here</p>
#402ca1 Background Color
This box has a background color of #402ca1
<div style="background-color:#402ca1">Text here</div>
#402ca1 Border Color
This box has a border color of #402ca1
<div style="border: 4px solid #402ca1">Text here</div>
CSS codes
<p style="color:#402ca1">Text here</p>
<div style="background-color:#402ca1">Text here</div>
<div style="border: 4px solid #402ca1">Text here</div>
#402ca1 Color on white background
This is how a font and box color of #402ca1 will look
on a white background.
#402ca1 Color on black background
This is how a font and box color of #402ca1 hex color will look
on a black background.