In RGB color space, #2a1f51 hex color has a red value of 42, a green value of 31 and a blue value of 81.
In CMYK color space (used in color printing), #2a1f51 hex color is composed of 48.15% cyan, 61.73% magenta, 0% yellow and 68.24% black.
#2a1f51 color has a hue of 253.2 degrees, a saturation of 44.64% and a lightness of 22%.
#2a1f51 hex color contains mainly BLUE.
The closest web safe color of #2a1f51 is #333366
#2a1f51 hex color has a decimal value of 2760529.
HEX | 2a1f51 | #2a1f51 |
---|---|---|
RGB | 42, 31, 81 | rgb(42, 31, 81) |
RGB Percent | 16.47, 12.16, 31.76 | rgb(16.47, 12.16, 31.76) |
CMYK | 48, 62, 0, 68 | |
HSL | 253.2°, 44.64, 22 | hsl(253.2, 44.64%, 22%) |
HSV | 253.2°, 61.7, 31.8 |
XYZ | 2.93, 2.066, 8.029 |
---|---|
Hunter Lab | 14.374, 11.233, -23.058 |
CIE-LAB | 15.83, 19.578, -28.989 |
CIE-LCH | 15.83, 34.981, 304.034 |
CIE-LUV | 48.15, 61.73, 0, 68.24 |
Web Safe | 333366 |
RGB percent of color #2a1f51
CMYK percent of color #2a1f51
Text with hexadecimal color #2a1f51
This text has a font color of #2a1f51
<p style="color:#2a1f51">Text here</p>
#2a1f51 Background Color
This box has a background color of #2a1f51
<div style="background-color:#2a1f51">Text here</div>
#2a1f51 Border Color
This box has a border color of #2a1f51
<div style="border: 4px solid #2a1f51">Text here</div>
CSS codes
<p style="color:#2a1f51">Text here</p>
<div style="background-color:#2a1f51">Text here</div>
<div style="border: 4px solid #2a1f51">Text here</div>
#2a1f51 Color on white background
This is how a font and box color of #2a1f51 will look
on a white background.
#2a1f51 Color on black background
This is how a font and box color of #2a1f51 hex color will look
on a black background.