#2a1171 hex color
In a RGB color space, hex #2a1171 is composed of 16.5% red, 6.7% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 62.8% cyan, 85% magenta, 0% yellow and 55.7% black. It has a hue angle of 255.6 degrees, a saturation of 73.8% and a lightness of 25.5%. #2a1171 color hex could be obtained by blending #5422e2 with #000000. Closest websafe color is: #330066.
-
- R 16
- G 7
- B 44
RGB color chart
-
- C 63
- M 85
- Y 0
- K 56
CMYK color chart
● #2a1171 color description : Very dark violet.
The hexadecimal color #2a1171 has RGB values of R:42, G:17, B:113 and CMYK values of C:0.63, M:0.85, Y:0, K:0.56. Its decimal value is 2756977.
Hex triplet | 2a1171 | #2a1171 |
---|---|---|
RGB Decimal | 42, 17, 113 | rgb(42,17,113) |
RGB Percent | 16.5, 6.7, 44.3 | rgb(16.5%,6.7%,44.3%) |
CMYK | 63, 85, 0, 56 | |
HSL | 255.6°, 73.8, 25.5 | hsl(255.6,73.8%,25.5%) |
HSV (or HSB) | 255.6°, 85, 44.3 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 15.928, 38.235, -50.064 |
---|---|
XYZ | 4.135, 2.085, 15.806 |
xyY | 0.188, 0.095, 2.085 |
CIE-LCH | 15.928, 62.994, 307.37 |
CIE-LUV | 15.928, 0.384, -50.063 |
Hunter-Lab | 14.44, 25.847, -54.79 |
Binary | 00101010, 00010001, 01110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1171. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1171
This text has a font color of #2a1171.
<span style="color:#2a1171;">Text here</span>
#2a1171 background color
This paragraph has a background color of #2a1171.
<p style="background-color:#2a1171;">Content here</p>
#2a1171 border color
This element has a border color of #2a1171.
<div style="border:1px solid #2a1171;">Content here</div>
CSS codes
.text {color:#2a1171;}
.background {background-color:#2a1171;}
.border {border:1px solid #2a1171;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #04020b is the darkest color, while #faf9fe is the lightest one.
-
#04020b
#04020b
rgb(4,2,11)
-
#0a041c
#0a041c
rgb(10,4,28)
-
#11072d
#11072d
rgb(17,7,45)
-
#17093e
#17093e
rgb(23,9,62)
-
#1d0c4f
#1d0c4f
rgb(29,12,79)
-
#240e60
#240e60
rgb(36,14,96)
-
#2a1171
#2a1171
rgb(42,17,113)
-
#301482
#301482
rgb(48,20,130)
-
#371693
#371693
rgb(55,22,147)
-
#3d19a4
#3d19a4
rgb(61,25,164)
-
#431bb5
#431bb5
rgb(67,27,181)
-
#4a1ec6
#4a1ec6
rgb(74,30,198)
-
#5020d7
#5020d7
rgb(80,32,215)
Shade Color Variation
-
#5b2cdf
#5b2cdf
rgb(91,44,223)
-
#683de2
#683de2
rgb(104,61,226)
-
#754ee4
#754ee4
rgb(117,78,228)
-
#835fe7
#835fe7
rgb(131,95,231)
-
#9070ea
#9070ea
rgb(144,112,234)
-
#9d81ec
#9d81ec
rgb(157,129,236)
-
#aa92ef
#aa92ef
rgb(170,146,239)
-
#b8a3f1
#b8a3f1
rgb(184,163,241)
-
#c5b4f4
#c5b4f4
rgb(197,180,244)
-
#d2c5f6
#d2c5f6
rgb(210,197,246)
-
#dfd7f9
#dfd7f9
rgb(223,215,249)
-
#ede8fb
#ede8fb
rgb(237,232,251)
-
#faf9fe
#faf9fe
rgb(250,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #403e44 is the less saturated color, while #230280 is the most saturated one.
-
#403e44
#403e44
rgb(64,62,68)
-
#3d3949
#3d3949
rgb(61,57,73)
-
#3b344e
#3b344e
rgb(59,52,78)
-
#382f53
#382f53
rgb(56,47,83)
-
#362a58
#362a58
rgb(54,42,88)
-
#34255d
#34255d
rgb(52,37,93)
-
#312062
#312062
rgb(49,32,98)
-
#2f1b67
#2f1b67
rgb(47,27,103)
-
#2c166c
#2c166c
rgb(44,22,108)
-
#2a1171
#2a1171
rgb(42,17,113)
-
#280c76
#280c76
rgb(40,12,118)
-
#25077b
#25077b
rgb(37,7,123)
-
#230280
#230280
rgb(35,2,128)
Tone Color Variation
Below, you can see how #2a1171 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy