#2a1a42 hex color
In a RGB color space, hex #2a1a42 is composed of 16.5% red, 10.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 36.4% cyan, 60.6% magenta, 0% yellow and 74.1% black. It has a hue angle of 264 degrees, a saturation of 43.5% and a lightness of 18%. #2a1a42 color hex could be obtained by blending #543484 with #000000. Closest websafe color is: #333333.
-
- R 16
- G 10
- B 26
RGB color chart
-
- C 36
- M 61
- Y 0
- K 74
CMYK color chart
● #2a1a42 color description : Very dark violet.
The hexadecimal color #2a1a42 has RGB values of R:42, G:26, B:66 and CMYK values of C:0.36, M:0.61, Y:0, K:0.74. Its decimal value is 2759234.
Hex triplet | 2a1a42 | #2a1a42 |
---|---|---|
RGB Decimal | 42, 26, 66 | rgb(42,26,66) |
RGB Percent | 16.5, 10.2, 25.9 | rgb(16.5%,10.2%,25.9%) |
CMYK | 36, 61, 0, 74 | |
HSL | 264°, 43.5, 18 | hsl(264,43.5%,18%) |
HSV (or HSB) | 264°, 60.6, 25.9 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 13.378, 18.149, -22.583 |
---|---|
XYZ | 2.307, 1.624, 5.346 |
xyY | 0.249, 0.175, 1.624 |
CIE-LCH | 13.378, 28.972, 308.786 |
CIE-LUV | 13.378, 3.175, -21.921 |
Hunter-Lab | 12.745, 10.013, -15.948 |
Binary | 00101010, 00011010, 01000010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #2a1a42. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1a42
This text has a font color of #2a1a42.
<span style="color:#2a1a42;">Text here</span>
#2a1a42 background color
This paragraph has a background color of #2a1a42.
<p style="background-color:#2a1a42;">Content here</p>
#2a1a42 border color
This element has a border color of #2a1a42.
<div style="border:1px solid #2a1a42;">Content here</div>
CSS codes
.text {color:#2a1a42;}
.background {background-color:#2a1a42;}
.border {border:1px solid #2a1a42;}
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, #06040a is the darkest color, while #fcfbfd is the lightest one.
-
#06040a
#06040a
rgb(6,4,10)
-
#0f0918
#0f0918
rgb(15,9,24)
-
#180f26
#180f26
rgb(24,15,38)
-
#211434
#211434
rgb(33,20,52)
-
#2a1a42
#2a1a42
rgb(42,26,66)
-
#332050
#332050
rgb(51,32,80)
-
#3c255e
#3c255e
rgb(60,37,94)
-
#452b6c
#452b6c
rgb(69,43,108)
-
#4e307a
#4e307a
rgb(78,48,122)
-
#573688
#573688
rgb(87,54,136)
-
#603b96
#603b96
rgb(96,59,150)
-
#6941a5
#6941a5
rgb(105,65,165)
-
#7246b3
#7246b3
rgb(114,70,179)
Shade Color Variation
-
#7c52bb
#7c52bb
rgb(124,82,187)
-
#8660c0
#8660c0
rgb(134,96,192)
-
#916ec6
#916ec6
rgb(145,110,198)
-
#9c7ccb
#9c7ccb
rgb(156,124,203)
-
#a68ad1
#a68ad1
rgb(166,138,209)
-
#b198d6
#b198d6
rgb(177,152,214)
-
#bca6dc
#bca6dc
rgb(188,166,220)
-
#c6b4e2
#c6b4e2
rgb(198,180,226)
-
#d1c2e7
#d1c2e7
rgb(209,194,231)
-
#dcd0ed
#dcd0ed
rgb(220,208,237)
-
#e6def2
#e6def2
rgb(230,222,242)
-
#f1edf8
#f1edf8
rgb(241,237,248)
-
#fcfbfd
#fcfbfd
rgb(252,251,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2e2c30 is the less saturated color, while #25015b is the most saturated one.
-
#2e2c30
#2e2c30
rgb(46,44,48)
-
#2d2834
#2d2834
rgb(45,40,52)
-
#2c2537
#2c2537
rgb(44,37,55)
-
#2b213b
#2b213b
rgb(43,33,59)
-
#2b1e3e
#2b1e3e
rgb(43,30,62)
-
#2a1a42
#2a1a42
rgb(42,26,66)
-
#291646
#291646
rgb(41,22,70)
-
#291349
#291349
rgb(41,19,73)
-
#280f4d
#280f4d
rgb(40,15,77)
-
#270c50
#270c50
rgb(39,12,80)
-
#260854
#260854
rgb(38,8,84)
-
#260557
#260557
rgb(38,5,87)
-
#25015b
#25015b
rgb(37,1,91)
Tone Color Variation
Below, you can see how #2a1a42 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