In RGB color space, #2f1f5f hex color has a red value of 47, a green value of 31 and a blue value of 95.
In CMYK color space (used in color printing), #2f1f5f hex color is composed of 50.53% cyan, 67.37% magenta, 0% yellow and 62.75% black.
#2f1f5f color has a hue of 255 degrees, a saturation of 50.79% and a lightness of 24.7%.
#2f1f5f hex color contains mainly BLUE.
The closest web safe color of #2f1f5f is #333366
#2f1f5f hex color has a decimal value of 3088223.
HEX | 2f1f5f | #2f1f5f |
---|---|---|
RGB | 47, 31, 95 | rgb(47, 31, 95) |
RGB Percent | 18.43, 12.16, 37.25 | rgb(18.43, 12.16, 37.25) |
CMYK | 51, 67, 0, 63 | |
HSL | 255°, 50.79, 24.7 | hsl(255, 50.79%, 24.7%) |
HSV | 255°, 67.4, 37.3 |
XYZ | 3.728, 2.411, 11.095 |
---|---|
Hunter Lab | 15.527, 15.683, -31.496 |
CIE-LAB | 17.511, 25.438, -35.638 |
CIE-LCH | 17.511, 43.785, 305.519 |
CIE-LUV | 50.53, 67.37, 0, 62.75 |
Web Safe | 333366 |
RGB percent of color #2f1f5f
CMYK percent of color #2f1f5f
Text with hexadecimal color #2f1f5f
This text has a font color of #2f1f5f
<p style="color:#2f1f5f">Text here</p>
#2f1f5f Background Color
This box has a background color of #2f1f5f
<div style="background-color:#2f1f5f">Text here</div>
#2f1f5f Border Color
This box has a border color of #2f1f5f
<div style="border: 4px solid #2f1f5f">Text here</div>
CSS codes
<p style="color:#2f1f5f">Text here</p>
<div style="background-color:#2f1f5f">Text here</div>
<div style="border: 4px solid #2f1f5f">Text here</div>
#2f1f5f Color on white background
This is how a font and box color of #2f1f5f will look
on a white background.
#2f1f5f Color on black background
This is how a font and box color of #2f1f5f hex color will look
on a black background.