In RGB color space, #402c8b hex color has a red value of 64, a green value of 44 and a blue value of 139.
In CMYK color space (used in color printing), #402c8b hex color is composed of 53.96% cyan, 68.35% magenta, 0% yellow and 45.49% black.
#402c8b color has a hue of 252.6 degrees, a saturation of 51.91% and a lightness of 35.9%.
#402c8b hex color contains mainly BLUE.
The closest web safe color of #402c8b is #333399
#402c8b hex color has a decimal value of 4205707.
HEX | 402c8b | #402c8b |
---|---|---|
RGB | 64, 44, 139 | rgb(64, 44, 139) |
RGB Percent | 25.1, 17.25, 54.51 | rgb(25.1, 17.25, 54.51) |
CMYK | 54, 68, 0, 45 | |
HSL | 252.6°, 51.91, 35.9 | hsl(252.6, 51.91%, 35.9%) |
HSV | 252.6°, 68.3, 54.5 |
XYZ | 7.675, 4.755, 24.939 |
---|---|
Hunter Lab | 21.806, 24.666, -52.544 |
CIE-LAB | 26.025, 34.972, -49.912 |
CIE-LCH | 26.025, 60.945, 305.018 |
CIE-LUV | 53.96, 68.35, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #402c8b
CMYK percent of color #402c8b
Text with hexadecimal color #402c8b
This text has a font color of #402c8b
<p style="color:#402c8b">Text here</p>
#402c8b Background Color
This box has a background color of #402c8b
<div style="background-color:#402c8b">Text here</div>
#402c8b Border Color
This box has a border color of #402c8b
<div style="border: 4px solid #402c8b">Text here</div>
CSS codes
<p style="color:#402c8b">Text here</p>
<div style="background-color:#402c8b">Text here</div>
<div style="border: 4px solid #402c8b">Text here</div>
#402c8b Color on white background
This is how a font and box color of #402c8b will look
on a white background.
#402c8b Color on black background
This is how a font and box color of #402c8b hex color will look
on a black background.