In RGB color space, #401540 hex color has a red value of 64, a green value of 21 and a blue value of 64.
In CMYK color space (used in color printing), #401540 hex color is composed of 0% cyan, 67.19% magenta, 0% yellow and 74.9% black.
#401540 color has a hue of 300 degrees, a saturation of 50.59% and a lightness of 16.7%.
#401540 hex color contains mainly RED.
The closest web safe color of #401540 is #330033
#401540 hex color has a decimal value of 4199744.
HEX | 401540 | #401540 |
---|---|---|
RGB | 64, 21, 64 | rgb(64, 21, 64) |
RGB Percent | 25.1, 8.24, 25.1 | rgb(25.1, 8.24, 25.1) |
CMYK | 0, 67, 0, 75 | |
HSL | 300°, 50.59, 16.7 | hsl(300, 50.59%, 16.7%) |
HSV | 300°, 67.2, 25.1 |
XYZ | 3.308, 1.996, 5.062 |
---|---|
Hunter Lab | 14.128, 17.071, -11.354 |
CIE-LAB | 15.466, 27.617, -17.663 |
CIE-LCH | 15.466, 32.782, 327.398 |
CIE-LUV | 0, 67.19, 0, 74.9 |
Web Safe | 330033 |
RGB percent of color #401540
CMYK percent of color #401540
Text with hexadecimal color #401540
This text has a font color of #401540
<p style="color:#401540">Text here</p>
#401540 Background Color
This box has a background color of #401540
<div style="background-color:#401540">Text here</div>
#401540 Border Color
This box has a border color of #401540
<div style="border: 4px solid #401540">Text here</div>
CSS codes
<p style="color:#401540">Text here</p>
<div style="background-color:#401540">Text here</div>
<div style="border: 4px solid #401540">Text here</div>
#401540 Color on white background
This is how a font and box color of #401540 will look
on a white background.
#401540 Color on black background
This is how a font and box color of #401540 hex color will look
on a black background.