In RGB color space, #402658 hex color has a red value of 64, a green value of 38 and a blue value of 88.
In CMYK color space (used in color printing), #402658 hex color is composed of 27.27% cyan, 56.82% magenta, 0% yellow and 65.49% black.
#402658 color has a hue of 271.2 degrees, a saturation of 39.68% and a lightness of 24.7%.
#402658 hex color contains mainly BLUE.
The closest web safe color of #402658 is #333366
#402658 hex color has a decimal value of 4204120.
HEX | 402658 | #402658 |
---|---|---|
RGB | 64, 38, 88 | rgb(64, 38, 88) |
RGB Percent | 25.1, 14.9, 34.51 | rgb(25.1, 14.9, 34.51) |
CMYK | 27, 57, 0, 65 | |
HSL | 271.2°, 39.68, 24.7 | hsl(271.2, 39.68%, 24.7%) |
HSV | 271.2°, 56.8, 34.5 |
XYZ | 4.569, 3.181, 9.606 |
---|---|
Hunter Lab | 17.835, 14.516, -19.448 |
CIE-LAB | 20.755, 23.376, -25.664 |
CIE-LCH | 20.755, 34.714, 312.329 |
CIE-LUV | 27.27, 56.82, 0, 65.49 |
Web Safe | 333366 |
RGB percent of color #402658
CMYK percent of color #402658
Text with hexadecimal color #402658
This text has a font color of #402658
<p style="color:#402658">Text here</p>
#402658 Background Color
This box has a background color of #402658
<div style="background-color:#402658">Text here</div>
#402658 Border Color
This box has a border color of #402658
<div style="border: 4px solid #402658">Text here</div>
CSS codes
<p style="color:#402658">Text here</p>
<div style="background-color:#402658">Text here</div>
<div style="border: 4px solid #402658">Text here</div>
#402658 Color on white background
This is how a font and box color of #402658 will look
on a white background.
#402658 Color on black background
This is how a font and box color of #402658 hex color will look
on a black background.