In RGB color space, #2a1f55 hex color has a red value of 42, a green value of 31 and a blue value of 85.
In CMYK color space (used in color printing), #2a1f55 hex color is composed of 50.59% cyan, 63.53% magenta, 0% yellow and 66.67% black.
#2a1f55 color has a hue of 252.2 degrees, a saturation of 46.55% and a lightness of 22.7%.
#2a1f55 hex color contains mainly BLUE.
The closest web safe color of #2a1f55 is #333366
#2a1f55 hex color has a decimal value of 2760533.
HEX | 2a1f55 | #2a1f55 |
---|---|---|
RGB | 42, 31, 85 | rgb(42, 31, 85) |
RGB Percent | 16.47, 12.16, 33.33 | rgb(16.47, 12.16, 33.33) |
CMYK | 51, 64, 0, 67 | |
HSL | 252.2°, 46.55, 22.7 | hsl(252.2, 46.55%, 22.7%) |
HSV | 252.2°, 63.5, 33.3 |
XYZ | 3.085, 2.128, 8.843 |
---|---|
Hunter Lab | 14.588, 12.221, -25.73 |
CIE-LAB | 16.145, 20.937, -31.189 |
CIE-LCH | 16.145, 37.565, 303.873 |
CIE-LUV | 50.59, 63.53, 0, 66.67 |
Web Safe | 333366 |
RGB percent of color #2a1f55
CMYK percent of color #2a1f55
Text with hexadecimal color #2a1f55
This text has a font color of #2a1f55
<p style="color:#2a1f55">Text here</p>
#2a1f55 Background Color
This box has a background color of #2a1f55
<div style="background-color:#2a1f55">Text here</div>
#2a1f55 Border Color
This box has a border color of #2a1f55
<div style="border: 4px solid #2a1f55">Text here</div>
CSS codes
<p style="color:#2a1f55">Text here</p>
<div style="background-color:#2a1f55">Text here</div>
<div style="border: 4px solid #2a1f55">Text here</div>
#2a1f55 Color on white background
This is how a font and box color of #2a1f55 will look
on a white background.
#2a1f55 Color on black background
This is how a font and box color of #2a1f55 hex color will look
on a black background.