In RGB color space, #402751 hex color has a red value of 64, a green value of 39 and a blue value of 81.
In CMYK color space (used in color printing), #402751 hex color is composed of 20.99% cyan, 51.85% magenta, 0% yellow and 68.24% black.
#402751 color has a hue of 275.7 degrees, a saturation of 35% and a lightness of 23.5%.
#402751 hex color contains mainly BLUE.
The closest web safe color of #402751 is #333366
#402751 hex color has a decimal value of 4204369.
HEX | 402751 | #402751 |
---|---|---|
RGB | 64, 39, 81 | rgb(64, 39, 81) |
RGB Percent | 25.1, 15.29, 31.76 | rgb(25.1, 15.29, 31.76) |
CMYK | 21, 52, 0, 68 | |
HSL | 275.7°, 35, 23.5 | hsl(275.7, 35%, 23.5%) |
HSV | 275.7°, 51.9, 31.8 |
XYZ | 4.325, 3.135, 8.162 |
---|---|
Hunter Lab | 17.706, 12.617, -14.937 |
CIE-LAB | 20.577, 20.848, -21.266 |
CIE-LCH | 20.577, 29.781, 314.431 |
CIE-LUV | 20.99, 51.85, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #402751
CMYK percent of color #402751
Text with hexadecimal color #402751
This text has a font color of #402751
<p style="color:#402751">Text here</p>
#402751 Background Color
This box has a background color of #402751
<div style="background-color:#402751">Text here</div>
#402751 Border Color
This box has a border color of #402751
<div style="border: 4px solid #402751">Text here</div>
CSS codes
<p style="color:#402751">Text here</p>
<div style="background-color:#402751">Text here</div>
<div style="border: 4px solid #402751">Text here</div>
#402751 Color on white background
This is how a font and box color of #402751 will look
on a white background.
#402751 Color on black background
This is how a font and box color of #402751 hex color will look
on a black background.