In RGB color space, #402d9a hex color has a red value of 64, a green value of 45 and a blue value of 154.
In CMYK color space (used in color printing), #402d9a hex color is composed of 58.44% cyan, 70.78% magenta, 0% yellow and 39.61% black.
#402d9a color has a hue of 250.5 degrees, a saturation of 54.77% and a lightness of 39%.
#402d9a hex color contains mainly BLUE.
The closest web safe color of #402d9a is #333399
#402d9a hex color has a decimal value of 4205978.
HEX | 402d9a | #402d9a |
---|---|---|
RGB | 64, 45, 154 | rgb(64, 45, 154) |
RGB Percent | 25.1, 17.65, 60.39 | rgb(25.1, 17.65, 60.39) |
CMYK | 58, 71, 0, 40 | |
HSL | 250.5°, 54.77, 39 | hsl(250.5, 54.77%, 39%) |
HSV | 250.5°, 70.8, 60.4 |
XYZ | 8.885, 5.3, 31.127 |
---|---|
Hunter Lab | 23.022, 28.602, -64.049 |
CIE-LAB | 27.573, 39.108, -56.626 |
CIE-LCH | 27.573, 68.818, 304.63 |
CIE-LUV | 58.44, 70.78, 0, 39.61 |
Web Safe | 333399 |
RGB percent of color #402d9a
CMYK percent of color #402d9a
Text with hexadecimal color #402d9a
This text has a font color of #402d9a
<p style="color:#402d9a">Text here</p>
#402d9a Background Color
This box has a background color of #402d9a
<div style="background-color:#402d9a">Text here</div>
#402d9a Border Color
This box has a border color of #402d9a
<div style="border: 4px solid #402d9a">Text here</div>
CSS codes
<p style="color:#402d9a">Text here</p>
<div style="background-color:#402d9a">Text here</div>
<div style="border: 4px solid #402d9a">Text here</div>
#402d9a Color on white background
This is how a font and box color of #402d9a will look
on a white background.
#402d9a Color on black background
This is how a font and box color of #402d9a hex color will look
on a black background.