In RGB color space, #3a1f59 hex color has a red value of 58, a green value of 31 and a blue value of 89.
In CMYK color space (used in color printing), #3a1f59 hex color is composed of 34.83% cyan, 65.17% magenta, 0% yellow and 65.1% black.
#3a1f59 color has a hue of 267.9 degrees, a saturation of 48.33% and a lightness of 23.5%.
#3a1f59 hex color contains mainly BLUE.
The closest web safe color of #3a1f59 is #333366
#3a1f59 hex color has a decimal value of 3809113.
HEX | 3a1f59 | #3a1f59 |
---|---|---|
RGB | 58, 31, 89 | rgb(58, 31, 89) |
RGB Percent | 22.75, 12.16, 34.9 | rgb(22.75, 12.16, 34.9) |
CMYK | 35, 65, 0, 65 | |
HSL | 267.9°, 48.33, 23.5 | hsl(267.9, 48.33%, 23.5%) |
HSV | 267.9°, 65.2, 34.9 |
XYZ | 4.038, 2.601, 9.74 |
---|---|
Hunter Lab | 16.128, 16.469, -24.518 |
CIE-LAB | 18.369, 26.323, -30.189 |
CIE-LCH | 18.369, 40.053, 311.086 |
CIE-LUV | 34.83, 65.17, 0, 65.1 |
Web Safe | 333366 |
RGB percent of color #3a1f59
CMYK percent of color #3a1f59
Text with hexadecimal color #3a1f59
This text has a font color of #3a1f59
<p style="color:#3a1f59">Text here</p>
#3a1f59 Background Color
This box has a background color of #3a1f59
<div style="background-color:#3a1f59">Text here</div>
#3a1f59 Border Color
This box has a border color of #3a1f59
<div style="border: 4px solid #3a1f59">Text here</div>
CSS codes
<p style="color:#3a1f59">Text here</p>
<div style="background-color:#3a1f59">Text here</div>
<div style="border: 4px solid #3a1f59">Text here</div>
#3a1f59 Color on white background
This is how a font and box color of #3a1f59 will look
on a white background.
#3a1f59 Color on black background
This is how a font and box color of #3a1f59 hex color will look
on a black background.