In RGB color space, #400f6f hex color has a red value of 64, a green value of 15 and a blue value of 111.
In CMYK color space (used in color printing), #400f6f hex color is composed of 42.34% cyan, 86.49% magenta, 0% yellow and 56.47% black.
#400f6f color has a hue of 270.6 degrees, a saturation of 76.19% and a lightness of 24.7%.
#400f6f hex color contains mainly BLUE.
The closest web safe color of #400f6f is #330066
#400f6f hex color has a decimal value of 4198255.
HEX | 400f6f | #400f6f |
---|---|---|
RGB | 64, 15, 111 | rgb(64, 15, 111) |
RGB Percent | 25.1, 5.88, 43.53 | rgb(25.1, 5.88, 43.53) |
CMYK | 42, 86, 0, 56 | |
HSL | 270.6°, 76.19, 24.7 | hsl(270.6, 76.19%, 24.7%) |
HSV | 270.6°, 86.5, 43.5 |
XYZ | 5.154, 2.579, 15.265 |
---|---|
Hunter Lab | 16.059, 29.183, -45.116 |
CIE-LAB | 18.272, 41.526, -44.808 |
CIE-LCH | 18.272, 61.091, 312.823 |
CIE-LUV | 42.34, 86.49, 0, 56.47 |
Web Safe | 330066 |
RGB percent of color #400f6f
CMYK percent of color #400f6f
Text with hexadecimal color #400f6f
This text has a font color of #400f6f
<p style="color:#400f6f">Text here</p>
#400f6f Background Color
This box has a background color of #400f6f
<div style="background-color:#400f6f">Text here</div>
#400f6f Border Color
This box has a border color of #400f6f
<div style="border: 4px solid #400f6f">Text here</div>
CSS codes
<p style="color:#400f6f">Text here</p>
<div style="background-color:#400f6f">Text here</div>
<div style="border: 4px solid #400f6f">Text here</div>
#400f6f Color on white background
This is how a font and box color of #400f6f will look
on a white background.
#400f6f Color on black background
This is how a font and box color of #400f6f hex color will look
on a black background.