In RGB color space, #2a1b5b hex color has a red value of 42, a green value of 27 and a blue value of 91.
In CMYK color space (used in color printing), #2a1b5b hex color is composed of 53.85% cyan, 70.33% magenta, 0% yellow and 64.31% black.
#2a1b5b color has a hue of 254.1 degrees, a saturation of 54.24% and a lightness of 23.1%.
#2a1b5b hex color contains mainly BLUE.
The closest web safe color of #2a1b5b is #333366
#2a1b5b hex color has a decimal value of 2759515.
HEX | 2a1b5b | #2a1b5b |
---|---|---|
RGB | 42, 27, 91 | rgb(42, 27, 91) |
RGB Percent | 16.47, 10.59, 35.69 | rgb(16.47, 10.59, 35.69) |
CMYK | 54, 70, 0, 64 | |
HSL | 254.1°, 54.24, 23.1 | hsl(254.1, 54.24%, 23.1%) |
HSV | 254.1°, 70.3, 35.7 |
XYZ | 3.235, 2.031, 10.119 |
---|---|
Hunter Lab | 14.251, 15.579, -32.122 |
CIE-LAB | 15.649, 25.619, -36.024 |
CIE-LCH | 15.649, 44.205, 305.419 |
CIE-LUV | 53.85, 70.33, 0, 64.31 |
Web Safe | 333366 |
RGB percent of color #2a1b5b
CMYK percent of color #2a1b5b
Text with hexadecimal color #2a1b5b
This text has a font color of #2a1b5b
<p style="color:#2a1b5b">Text here</p>
#2a1b5b Background Color
This box has a background color of #2a1b5b
<div style="background-color:#2a1b5b">Text here</div>
#2a1b5b Border Color
This box has a border color of #2a1b5b
<div style="border: 4px solid #2a1b5b">Text here</div>
CSS codes
<p style="color:#2a1b5b">Text here</p>
<div style="background-color:#2a1b5b">Text here</div>
<div style="border: 4px solid #2a1b5b">Text here</div>
#2a1b5b Color on white background
This is how a font and box color of #2a1b5b will look
on a white background.
#2a1b5b Color on black background
This is how a font and box color of #2a1b5b hex color will look
on a black background.