#5a2a8c hex color
In a RGB color space, hex #5a2a8c is composed of 35.3% red, 16.5% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 70% magenta, 0% yellow and 45.1% black. It has a hue angle of 269.4 degrees, a saturation of 53.8% and a lightness of 35.7%. #5a2a8c color hex could be obtained by blending #b454ff with #000019. Closest websafe color is: #663399.
-
- R 35
- G 16
- B 55
RGB color chart
-
- C 36
- M 70
- Y 0
- K 45
CMYK color chart
● #5a2a8c color description : Dark violet.
The hexadecimal color #5a2a8c has RGB values of R:90, G:42, B:140 and CMYK values of C:0.36, M:0.7, Y:0, K:0.45. Its decimal value is 5909132.
Hex triplet | 5a2a8c | #5a2a8c |
---|---|---|
RGB Decimal | 90, 42, 140 | rgb(90,42,140) |
RGB Percent | 35.3, 16.5, 54.9 | rgb(35.3%,16.5%,54.9%) |
CMYK | 36, 70, 0, 45 | |
HSL | 269.4°, 53.8, 35.7 | hsl(269.4,53.8%,35.7%) |
HSV (or HSB) | 269.4°, 70, 54.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.703, 41.592, -46.042 |
---|---|
XYZ | 9.777, 5.723, 25.399 |
xyY | 0.239, 0.14, 5.723 |
CIE-LCH | 28.703, 62.047, 312.093 |
CIE-LUV | 28.703, 11.11, -62.896 |
Hunter-Lab | 23.923, 31.087, -46.202 |
Binary | 01011010, 00101010, 10001100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2a8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2a8c
This text has a font color of #5a2a8c.
<span style="color:#5a2a8c;">Text here</span>
#5a2a8c background color
This paragraph has a background color of #5a2a8c.
<p style="background-color:#5a2a8c;">Content here</p>
#5a2a8c border color
This element has a border color of #5a2a8c.
<div style="border:1px solid #5a2a8c;">Content here</div>
CSS codes
.text {color:#5a2a8c;}
.background {background-color:#5a2a8c;}
.border {border:1px solid #5a2a8c;}
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, #030104 is the darkest color, while #f8f4fc is the lightest one.
-
#030104
#030104
rgb(3,1,4)
-
#0c0613
#0c0613
rgb(12,6,19)
-
#160a22
#160a22
rgb(22,10,34)
-
#200f31
#200f31
rgb(32,15,49)
-
#2a1341
#2a1341
rgb(42,19,65)
-
#331850
#331850
rgb(51,24,80)
-
#3d1c5f
#3d1c5f
rgb(61,28,95)
-
#47216e
#47216e
rgb(71,33,110)
-
#50257d
#50257d
rgb(80,37,125)
-
#5a2a8c
#5a2a8c
rgb(90,42,140)
-
#642f9b
#642f9b
rgb(100,47,155)
-
#6d33aa
#6d33aa
rgb(109,51,170)
-
#7738b9
#7738b9
rgb(119,56,185)
Shade Color Variation
-
#813fc5
#813fc5
rgb(129,63,197)
-
#8b4eca
#8b4eca
rgb(139,78,202)
-
#955dce
#955dce
rgb(149,93,206)
-
#9f6cd3
#9f6cd3
rgb(159,108,211)
-
#a97bd8
#a97bd8
rgb(169,123,216)
-
#b28adc
#b28adc
rgb(178,138,220)
-
#bc9ae1
#bc9ae1
rgb(188,154,225)
-
#c6a9e5
#c6a9e5
rgb(198,169,229)
-
#d0b8ea
#d0b8ea
rgb(208,184,234)
-
#dac7ee
#dac7ee
rgb(218,199,238)
-
#e4d6f3
#e4d6f3
rgb(228,214,243)
-
#eee5f7
#eee5f7
rgb(238,229,247)
-
#f8f4fc
#f8f4fc
rgb(248,244,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5b5b5b is the less saturated color, while #5907af is the most saturated one.
-
#5b5b5b
#5b5b5b
rgb(91,91,91)
-
#5b5462
#5b5462
rgb(91,84,98)
-
#5b4d69
#5b4d69
rgb(91,77,105)
-
#5b4670
#5b4670
rgb(91,70,112)
-
#5a3f77
#5a3f77
rgb(90,63,119)
-
#5a387e
#5a387e
rgb(90,56,126)
-
#5a3185
#5a3185
rgb(90,49,133)
-
#5a2a8c
#5a2a8c
rgb(90,42,140)
-
#5a2393
#5a2393
rgb(90,35,147)
-
#5a1c9a
#5a1c9a
rgb(90,28,154)
-
#5a15a1
#5a15a1
rgb(90,21,161)
-
#590ea8
#590ea8
rgb(89,14,168)
-
#5907af
#5907af
rgb(89,7,175)
Tone Color Variation
Below, you can see how #5a2a8c 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