In RGB color space, #402258 hex color has a red value of 64, a green value of 34 and a blue value of 88.
In CMYK color space (used in color printing), #402258 hex color is composed of 27.27% cyan, 61.36% magenta, 0% yellow and 65.49% black.
#402258 color has a hue of 273.3 degrees, a saturation of 44.26% and a lightness of 23.9%.
#402258 hex color contains mainly BLUE.
The closest web safe color of #402258 is #333366
#402258 hex color has a decimal value of 4203096.
HEX | 402258 | #402258 |
---|---|---|
RGB | 64, 34, 88 | rgb(64, 34, 88) |
RGB Percent | 25.1, 13.33, 34.51 | rgb(25.1, 13.33, 34.51) |
CMYK | 27, 61, 0, 65 | |
HSL | 273.3°, 44.26, 23.9 | hsl(273.3, 44.26%, 23.9%) |
HSV | 273.3°, 61.4, 34.5 |
XYZ | 4.448, 2.939, 9.565 |
---|---|
Hunter Lab | 17.144, 16.312, -21.08 |
CIE-LAB | 19.798, 25.881, -27.187 |
CIE-LCH | 19.798, 37.536, 313.59 |
CIE-LUV | 27.27, 61.36, 0, 65.49 |
Web Safe | 333366 |
RGB percent of color #402258
CMYK percent of color #402258
Text with hexadecimal color #402258
This text has a font color of #402258
<p style="color:#402258">Text here</p>
#402258 Background Color
This box has a background color of #402258
<div style="background-color:#402258">Text here</div>
#402258 Border Color
This box has a border color of #402258
<div style="border: 4px solid #402258">Text here</div>
CSS codes
<p style="color:#402258">Text here</p>
<div style="background-color:#402258">Text here</div>
<div style="border: 4px solid #402258">Text here</div>
#402258 Color on white background
This is how a font and box color of #402258 will look
on a white background.
#402258 Color on black background
This is how a font and box color of #402258 hex color will look
on a black background.