In RGB color space, #2a1f4a hex color has a red value of 42, a green value of 31 and a blue value of 74.
In CMYK color space (used in color printing), #2a1f4a hex color is composed of 43.24% cyan, 58.11% magenta, 0% yellow and 70.98% black.
#2a1f4a color has a hue of 255.3 degrees, a saturation of 40.95% and a lightness of 20.6%.
#2a1f4a hex color contains mainly BLUE.
The closest web safe color of #2a1f4a is #333333
#2a1f4a hex color has a decimal value of 2760522.
HEX | 2a1f4a | #2a1f4a |
---|---|---|
RGB | 42, 31, 74 | rgb(42, 31, 74) |
RGB Percent | 16.47, 12.16, 29.02 | rgb(16.47, 12.16, 29.02) |
CMYK | 43, 58, 0, 71 | |
HSL | 255.3°, 40.95, 20.6 | hsl(255.3, 40.95%, 20.6%) |
HSV | 255.3°, 58.1, 29 |
XYZ | 2.681, 1.967, 6.717 |
---|---|
Hunter Lab | 14.025, 9.578, -18.578 |
CIE-LAB | 15.313, 17.233, -25.038 |
CIE-LCH | 15.313, 30.395, 304.539 |
CIE-LUV | 43.24, 58.11, 0, 70.98 |
Web Safe | 333333 |
RGB percent of color #2a1f4a
CMYK percent of color #2a1f4a
Text with hexadecimal color #2a1f4a
This text has a font color of #2a1f4a
<p style="color:#2a1f4a">Text here</p>
#2a1f4a Background Color
This box has a background color of #2a1f4a
<div style="background-color:#2a1f4a">Text here</div>
#2a1f4a Border Color
This box has a border color of #2a1f4a
<div style="border: 4px solid #2a1f4a">Text here</div>
CSS codes
<p style="color:#2a1f4a">Text here</p>
<div style="background-color:#2a1f4a">Text here</div>
<div style="border: 4px solid #2a1f4a">Text here</div>
#2a1f4a Color on white background
This is how a font and box color of #2a1f4a will look
on a white background.
#2a1f4a Color on black background
This is how a font and box color of #2a1f4a hex color will look
on a black background.