#2a1239 hex color
In a RGB color space, hex #2a1239 is composed of 16.5% red, 7.1% green and 22.4% blue. Whereas in a CMYK color space, it is composed of 26.3% cyan, 68.4% magenta, 0% yellow and 77.6% black. It has a hue angle of 276.9 degrees, a saturation of 52% and a lightness of 14.7%. #2a1239 color hex could be obtained by blending #542472 with #000000. Closest websafe color is: #330033.
-
- R 16
- G 7
- B 22
RGB color chart
-
- C 26
- M 68
- Y 0
- K 78
CMYK color chart
● #2a1239 color description : Very dark violet.
The hexadecimal color #2a1239 has RGB values of R:42, G:18, B:57 and CMYK values of C:0.26, M:0.68, Y:0, K:0.78. Its decimal value is 2757177.
Hex triplet | 2a1239 | #2a1239 |
---|---|---|
RGB Decimal | 42, 18, 57 | rgb(42,18,57) |
RGB Percent | 16.5, 7.1, 22.4 | rgb(16.5%,7.1%,22.4%) |
CMYK | 26, 68, 0, 78 | |
HSL | 276.9°, 52, 14.7 | hsl(276.9,52%,14.7%) |
HSV (or HSB) | 276.9°, 68.4, 22.4 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 10.706, 20.812, -20.472 |
---|---|
XYZ | 1.91, 1.22, 4.006 |
xyY | 0.268, 0.171, 1.22 |
CIE-LCH | 10.706, 29.193, 315.473 |
CIE-LUV | 10.706, 5.448, -17.758 |
Hunter-Lab | 11.047, 11.524, -13.766 |
Binary | 00101010, 00010010, 00111001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #2a1239. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a1239
This text has a font color of #2a1239.
<span style="color:#2a1239;">Text here</span>
#2a1239 background color
This paragraph has a background color of #2a1239.
<p style="background-color:#2a1239;">Content here</p>
#2a1239 border color
This element has a border color of #2a1239.
<div style="border:1px solid #2a1239;">Content here</div>
CSS codes
.text {color:#2a1239;}
.background {background-color:#2a1239;}
.border {border:1px solid #2a1239;}
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, #09040c is the darkest color, while #fdfcfe is the lightest one.
-
#09040c
#09040c
rgb(9,4,12)
-
#14091b
#14091b
rgb(20,9,27)
-
#1f0d2a
#1f0d2a
rgb(31,13,42)
-
#2a1239
#2a1239
rgb(42,18,57)
-
#351748
#351748
rgb(53,23,72)
-
#401b57
#401b57
rgb(64,27,87)
-
#4b2066
#4b2066
rgb(75,32,102)
-
#562575
#562575
rgb(86,37,117)
-
#612a84
#612a84
rgb(97,42,132)
-
#6c2e92
#6c2e92
rgb(108,46,146)
-
#7733a1
#7733a1
rgb(119,51,161)
-
#8238b0
#8238b0
rgb(130,56,176)
-
#8d3cbf
#8d3cbf
rgb(141,60,191)
Shade Color Variation
-
#9649c6
#9649c6
rgb(150,73,198)
-
#9f58ca
#9f58ca
rgb(159,88,202)
-
#a767cf
#a767cf
rgb(167,103,207)
-
#b076d4
#b076d4
rgb(176,118,212)
-
#b885d9
#b885d9
rgb(184,133,217)
-
#c194dd
#c194dd
rgb(193,148,221)
-
#caa3e2
#caa3e2
rgb(202,163,226)
-
#d2b2e7
#d2b2e7
rgb(210,178,231)
-
#dbc1eb
#dbc1eb
rgb(219,193,235)
-
#e4d0f0
#e4d0f0
rgb(228,208,240)
-
#ecdff5
#ecdff5
rgb(236,223,245)
-
#f5edf9
#f5edf9
rgb(245,237,249)
-
#fdfcfe
#fdfcfe
rgb(253,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #262328 is the less saturated color, while #2e014a is the most saturated one.
-
#262328
#262328
rgb(38,35,40)
-
#27202b
#27202b
rgb(39,32,43)
-
#271e2d
#271e2d
rgb(39,30,45)
-
#281b30
#281b30
rgb(40,27,48)
-
#291833
#291833
rgb(41,24,51)
-
#291536
#291536
rgb(41,21,54)
-
#2a1239
#2a1239
rgb(42,18,57)
-
#2b0f3c
#2b0f3c
rgb(43,15,60)
-
#2b0c3f
#2b0c3f
rgb(43,12,63)
-
#2c0942
#2c0942
rgb(44,9,66)
-
#2d0645
#2d0645
rgb(45,6,69)
-
#2d0447
#2d0447
rgb(45,4,71)
-
#2e014a
#2e014a
rgb(46,1,74)
Tone Color Variation
Below, you can see how #2a1239 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