In RGB color space, #3a1f40 hex color has a red value of 58, a green value of 31 and a blue value of 64.
In CMYK color space (used in color printing), #3a1f40 hex color is composed of 9.38% cyan, 51.56% magenta, 0% yellow and 74.9% black.
#3a1f40 color has a hue of 289.1 degrees, a saturation of 34.74% and a lightness of 18.6%.
#3a1f40 hex color contains mainly BLUE.
The closest web safe color of #3a1f40 is #333333
#3a1f40 hex color has a decimal value of 3809088.
HEX | 3a1f40 | #3a1f40 |
---|---|---|
RGB | 58, 31, 64 | rgb(58, 31, 64) |
RGB Percent | 22.75, 12.16, 25.1 | rgb(22.75, 12.16, 25.1) |
CMYK | 9, 52, 0, 75 | |
HSL | 289.1°, 34.74, 18.6 | hsl(289.1, 34.74%, 18.6%) |
HSV | 289.1°, 51.6, 25.1 |
XYZ | 3.16, 2.25, 5.118 |
---|---|
Hunter Lab | 15, 11.354, -9.73 |
CIE-LAB | 16.748, 19.62, -15.717 |
CIE-LCH | 16.748, 25.139, 321.303 |
CIE-LUV | 9.38, 51.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #3a1f40
CMYK percent of color #3a1f40
Text with hexadecimal color #3a1f40
This text has a font color of #3a1f40
<p style="color:#3a1f40">Text here</p>
#3a1f40 Background Color
This box has a background color of #3a1f40
<div style="background-color:#3a1f40">Text here</div>
#3a1f40 Border Color
This box has a border color of #3a1f40
<div style="border: 4px solid #3a1f40">Text here</div>
CSS codes
<p style="color:#3a1f40">Text here</p>
<div style="background-color:#3a1f40">Text here</div>
<div style="border: 4px solid #3a1f40">Text here</div>
#3a1f40 Color on white background
This is how a font and box color of #3a1f40 will look
on a white background.
#3a1f40 Color on black background
This is how a font and box color of #3a1f40 hex color will look
on a black background.