#2a1566 hex color
In a RGB color space, hex #2a1566 is composed of 16.5% red, 8.2% green and 40% blue. Whereas in a CMYK color space, it is composed of 58.8% cyan, 79.4% magenta, 0% yellow and 60% black. It has a hue angle of 255.6 degrees, a saturation of 65.9% and a lightness of 24.1%. #2a1566 color hex could be obtained by blending #542acc with #000000. Closest websafe color is: #330066.
-
- R 16
- G 8
- B 40
RGB color chart
-
- C 59
- M 79
- Y 0
- K 60
CMYK color chart
● #2a1566 color description : Very dark violet.
The hexadecimal color #2a1566 has RGB values of R:42, G:21, B:102 and CMYK values of C:0.59, M:0.79, Y:0, K:0.6. Its decimal value is 2757990.
Hex triplet | 2a1566 | #2a1566 |
---|---|---|
RGB Decimal | 42, 21, 102 | rgb(42,21,102) |
RGB Percent | 16.5, 8.2, 40 | rgb(16.5%,8.2%,40%) |
CMYK | 59, 79, 0, 60 | |
HSL | 255.6°, 65.9, 24.1 | hsl(255.6,65.9%,24.1%) |
HSV (or HSB) | 255.6°, 79.4, 40 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 15.423, 32.795, -43.701 |
---|---|
XYZ | 3.621, 1.988, 12.763 |
xyY | 0.197, 0.108, 1.988 |
CIE-LCH | 15.423, 54.638, 306.886 |
CIE-LUV | 15.423, 0.82, -43.892 |
Hunter-Lab | 14.099, 21.169, -43.801 |
Binary | 00101010, 00010101, 01100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #2a1566. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1566
This text has a font color of #2a1566.
<span style="color:#2a1566;">Text here</span>
#2a1566 background color
This paragraph has a background color of #2a1566.
<p style="background-color:#2a1566;">Content here</p>
#2a1566 border color
This element has a border color of #2a1566.
<div style="border:1px solid #2a1566;">Content here</div>
CSS codes
.text {color:#2a1566;}
.background {background-color:#2a1566;}
.border {border:1px solid #2a1566;}
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, #020104 is the darkest color, while #f6f3fd is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#090415
#090415
rgb(9,4,21)
-
#0f0825
#0f0825
rgb(15,8,37)
-
#160b35
#160b35
rgb(22,11,53)
-
#1d0e45
#1d0e45
rgb(29,14,69)
-
#231256
#231256
rgb(35,18,86)
-
#2a1566
#2a1566
rgb(42,21,102)
-
#311876
#311876
rgb(49,24,118)
-
#371c87
#371c87
rgb(55,28,135)
-
#3e1f97
#3e1f97
rgb(62,31,151)
-
#4522a7
#4522a7
rgb(69,34,167)
-
#4b26b7
#4b26b7
rgb(75,38,183)
-
#5229c8
#5229c8
rgb(82,41,200)
Shade Color Variation
-
#5b30d4
#5b30d4
rgb(91,48,212)
-
#6740d8
#6740d8
rgb(103,64,216)
-
#7450db
#7450db
rgb(116,80,219)
-
#8161de
#8161de
rgb(129,97,222)
-
#8e71e2
#8e71e2
rgb(142,113,226)
-
#9b81e5
#9b81e5
rgb(155,129,229)
-
#a892e8
#a892e8
rgb(168,146,232)
-
#b5a2ec
#b5a2ec
rgb(181,162,236)
-
#c2b2ef
#c2b2ef
rgb(194,178,239)
-
#cfc2f3
#cfc2f3
rgb(207,194,243)
-
#dcd3f6
#dcd3f6
rgb(220,211,246)
-
#e9e3f9
#e9e3f9
rgb(233,227,249)
-
#f6f3fd
#f6f3fd
rgb(246,243,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3c3b40 is the less saturated color, while #210279 is the most saturated one.
-
#3c3b40
#3c3b40
rgb(60,59,64)
-
#3a3645
#3a3645
rgb(58,54,69)
-
#38314a
#38314a
rgb(56,49,74)
-
#352d4e
#352d4e
rgb(53,45,78)
-
#332853
#332853
rgb(51,40,83)
-
#312358
#312358
rgb(49,35,88)
-
#2f1e5d
#2f1e5d
rgb(47,30,93)
-
#2c1a61
#2c1a61
rgb(44,26,97)
-
#2a1566
#2a1566
rgb(42,21,102)
-
#28106b
#28106b
rgb(40,16,107)
-
#250c6f
#250c6f
rgb(37,12,111)
-
#230774
#230774
rgb(35,7,116)
-
#210279
#210279
rgb(33,2,121)
Tone Color Variation
Below, you can see how #2a1566 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