In RGB color space, #402174 hex color has a red value of 64, a green value of 33 and a blue value of 116.
In CMYK color space (used in color printing), #402174 hex color is composed of 44.83% cyan, 71.55% magenta, 0% yellow and 54.51% black.
#402174 color has a hue of 262.4 degrees, a saturation of 55.7% and a lightness of 29.2%.
#402174 hex color contains mainly BLUE.
The closest web safe color of #402174 is #333366
#402174 hex color has a decimal value of 4202868.
HEX | 402174 | #402174 |
---|---|---|
RGB | 64, 33, 116 | rgb(64, 33, 116) |
RGB Percent | 25.1, 12.94, 45.49 | rgb(25.1, 12.94, 45.49) |
CMYK | 45, 72, 0, 55 | |
HSL | 262.4°, 55.7, 29.2 | hsl(262.4, 55.7%, 29.2%) |
HSV | 262.4°, 71.6, 45.5 |
XYZ | 5.811, 3.439, 16.88 |
---|---|
Hunter Lab | 18.545, 23.481, -40.987 |
CIE-LAB | 21.723, 34.376, -42.401 |
CIE-LCH | 21.723, 54.585, 309.033 |
CIE-LUV | 44.83, 71.55, 0, 54.51 |
Web Safe | 333366 |
RGB percent of color #402174
CMYK percent of color #402174
Text with hexadecimal color #402174
This text has a font color of #402174
<p style="color:#402174">Text here</p>
#402174 Background Color
This box has a background color of #402174
<div style="background-color:#402174">Text here</div>
#402174 Border Color
This box has a border color of #402174
<div style="border: 4px solid #402174">Text here</div>
CSS codes
<p style="color:#402174">Text here</p>
<div style="background-color:#402174">Text here</div>
<div style="border: 4px solid #402174">Text here</div>
#402174 Color on white background
This is how a font and box color of #402174 will look
on a white background.
#402174 Color on black background
This is how a font and box color of #402174 hex color will look
on a black background.