#2a173f hex color
In a RGB color space, hex #2a173f is composed of 16.5% red, 9% green and 24.7% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 63.5% magenta, 0% yellow and 75.3% black. It has a hue angle of 268.5 degrees, a saturation of 46.5% and a lightness of 16.9%. #2a173f color hex could be obtained by blending #542e7e with #000000. Closest websafe color is: #330033.
-
- R 16
- G 9
- B 25
RGB color chart
-
- C 33
- M 63
- Y 0
- K 75
CMYK color chart
● #2a173f color description : Very dark violet.
The hexadecimal color #2a173f has RGB values of R:42, G:23, B:63 and CMYK values of C:0.33, M:0.63, Y:0, K:0.75. Its decimal value is 2758463.
Hex triplet | 2a173f | #2a173f |
---|---|---|
RGB Decimal | 42, 23, 63 | rgb(42,23,63) |
RGB Percent | 16.5, 9, 24.7 | rgb(16.5%,9%,24.7%) |
CMYK | 33, 63, 0, 75 | |
HSL | 268.5°, 46.5, 16.9 | hsl(268.5,46.5%,16.9%) |
HSV (or HSB) | 268.5°, 63.5, 24.7 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 12.377, 19.274, -22.074 |
---|---|
XYZ | 2.158, 1.464, 4.871 |
xyY | 0.254, 0.172, 1.464 |
CIE-LCH | 12.377, 29.304, 311.126 |
CIE-LUV | 12.377, 4.032, -20.621 |
Hunter-Lab | 12.099, 10.667, -15.401 |
Binary | 00101010, 00010111, 00111111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #2a173f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #2a173f
This text has a font color of #2a173f.
<span style="color:#2a173f;">Text here</span>
#2a173f background color
This paragraph has a background color of #2a173f.
<p style="background-color:#2a173f;">Content here</p>
#2a173f border color
This element has a border color of #2a173f.
<div style="border:1px solid #2a173f;">Content here</div>
CSS codes
.text {color:#2a173f;}
.background {background-color:#2a173f;}
.border {border:1px solid #2a173f;}
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, #040206 is the darkest color, while #f9f6fc is the lightest one.
-
#040206
#040206
rgb(4,2,6)
-
#0d0714
#0d0714
rgb(13,7,20)
-
#170d22
#170d22
rgb(23,13,34)
-
#201231
#201231
rgb(32,18,49)
-
#2a173f
#2a173f
rgb(42,23,63)
-
#341c4d
#341c4d
rgb(52,28,77)
-
#3d215c
#3d215c
rgb(61,33,92)
-
#47276a
#47276a
rgb(71,39,106)
-
#502c78
#502c78
rgb(80,44,120)
-
#5a3187
#5a3187
rgb(90,49,135)
-
#633695
#633695
rgb(99,54,149)
-
#6d3ca4
#6d3ca4
rgb(109,60,164)
-
#7741b2
#7741b2
rgb(119,65,178)
Shade Color Variation
-
#804abd
#804abd
rgb(128,74,189)
-
#8a58c2
#8a58c2
rgb(138,88,194)
-
#9466c7
#9466c7
rgb(148,102,199)
-
#9e75cd
#9e75cd
rgb(158,117,205)
-
#a983d2
#a983d2
rgb(169,131,210)
-
#b392d7
#b392d7
rgb(179,146,215)
-
#bda0dc
#bda0dc
rgb(189,160,220)
-
#c7aee2
#c7aee2
rgb(199,174,226)
-
#d1bde7
#d1bde7
rgb(209,189,231)
-
#dbcbec
#dbcbec
rgb(219,203,236)
-
#e5d9f1
#e5d9f1
rgb(229,217,241)
-
#efe8f7
#efe8f7
rgb(239,232,247)
-
#f9f6fc
#f9f6fc
rgb(249,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2b2b2b is the less saturated color, while #290353 is the most saturated one.
-
#2b2b2b
#2b2b2b
rgb(43,43,43)
-
#2b282e
#2b282e
rgb(43,40,46)
-
#2b2432
#2b2432
rgb(43,36,50)
-
#2a2135
#2a2135
rgb(42,33,53)
-
#2a1e38
#2a1e38
rgb(42,30,56)
-
#2a1a3c
#2a1a3c
rgb(42,26,60)
-
#2a173f
#2a173f
rgb(42,23,63)
-
#2a1442
#2a1442
rgb(42,20,66)
-
#2a1046
#2a1046
rgb(42,16,70)
-
#2a0d49
#2a0d49
rgb(42,13,73)
-
#290a4c
#290a4c
rgb(41,10,76)
-
#290650
#290650
rgb(41,6,80)
-
#290353
#290353
rgb(41,3,83)
Tone Color Variation
Below, you can see how #2a173f 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