#5a2ba6 hex color
In a RGB color space, hex #5a2ba6 is composed of 35.3% red, 16.9% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 45.8% cyan, 74.1% magenta, 0% yellow and 34.9% black. It has a hue angle of 262.9 degrees, a saturation of 58.9% and a lightness of 41%. #5a2ba6 color hex could be obtained by blending #b456ff with #00004d. Closest websafe color is: #663399.
-
- R 35
- G 17
- B 65
RGB color chart
-
- C 46
- M 74
- Y 0
- K 35
CMYK color chart
● #5a2ba6 color description : Dark violet.
The hexadecimal color #5a2ba6 has RGB values of R:90, G:43, B:166 and CMYK values of C:0.46, M:0.74, Y:0, K:0.35. Its decimal value is 5909414.
Hex triplet | 5a2ba6 | #5a2ba6 |
---|---|---|
RGB Decimal | 90, 43, 166 | rgb(90,43,166) |
RGB Percent | 35.3, 16.9, 65.1 | rgb(35.3%,16.9%,65.1%) |
CMYK | 46, 74, 0, 35 | |
HSL | 262.9°, 58.9, 41 | hsl(262.9,58.9%,41%) |
HSV (or HSB) | 262.9°, 74.1, 65.1 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 31.007, 47.952, -58.176 |
---|---|
XYZ | 11.962, 6.655, 36.729 |
xyY | 0.216, 0.12, 6.655 |
CIE-LCH | 31.007, 75.391, 309.497 |
CIE-LUV | 31.007, 7.146, -80.02 |
Hunter-Lab | 25.796, 37.629, -66.359 |
Binary | 01011010, 00101011, 10100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2ba6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2ba6
This text has a font color of #5a2ba6.
<span style="color:#5a2ba6;">Text here</span>
#5a2ba6 background color
This paragraph has a background color of #5a2ba6.
<p style="background-color:#5a2ba6;">Content here</p>
#5a2ba6 border color
This element has a border color of #5a2ba6.
<div style="border:1px solid #5a2ba6;">Content here</div>
CSS codes
.text {color:#5a2ba6;}
.background {background-color:#5a2ba6;}
.border {border:1px solid #5a2ba6;}
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, #06030a is the darkest color, while #fbfafe is the lightest one.
-
#06030a
#06030a
rgb(6,3,10)
-
#0e071a
#0e071a
rgb(14,7,26)
-
#160b29
#160b29
rgb(22,11,41)
-
#1f0f39
#1f0f39
rgb(31,15,57)
-
#271349
#271349
rgb(39,19,73)
-
#301758
#301758
rgb(48,23,88)
-
#381b68
#381b68
rgb(56,27,104)
-
#411f77
#411f77
rgb(65,31,119)
-
#492387
#492387
rgb(73,35,135)
-
#522796
#522796
rgb(82,39,150)
-
#5a2ba6
#5a2ba6
rgb(90,43,166)
-
#622fb6
#622fb6
rgb(98,47,182)
-
#6b33c5
#6b33c5
rgb(107,51,197)
Shade Color Variation
-
#753fcd
#753fcd
rgb(117,63,205)
-
#804ed1
#804ed1
rgb(128,78,209)
-
#8b5ed5
#8b5ed5
rgb(139,94,213)
-
#976dd9
#976dd9
rgb(151,109,217)
-
#a27ddd
#a27ddd
rgb(162,125,221)
-
#ad8de1
#ad8de1
rgb(173,141,225)
-
#b89ce5
#b89ce5
rgb(184,156,229)
-
#c3ace9
#c3ace9
rgb(195,172,233)
-
#cebbed
#cebbed
rgb(206,187,237)
-
#dacbf2
#dacbf2
rgb(218,203,242)
-
#e5daf6
#e5daf6
rgb(229,218,246)
-
#f0eafa
#f0eafa
rgb(240,234,250)
-
#fbfafe
#fbfafe
rgb(251,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #67636e is the less saturated color, while #5103ce is the most saturated one.
-
#67636e
#67636e
rgb(103,99,110)
-
#655b76
#655b76
rgb(101,91,118)
-
#63537e
#63537e
rgb(99,83,126)
-
#624b86
#624b86
rgb(98,75,134)
-
#60438e
#60438e
rgb(96,67,142)
-
#5e3b96
#5e3b96
rgb(94,59,150)
-
#5c339e
#5c339e
rgb(92,51,158)
-
#5a2ba6
#5a2ba6
rgb(90,43,166)
-
#5823ae
#5823ae
rgb(88,35,174)
-
#561bb6
#561bb6
rgb(86,27,182)
-
#5413be
#5413be
rgb(84,19,190)
-
#520bc6
#520bc6
rgb(82,11,198)
-
#5103ce
#5103ce
rgb(81,3,206)
Tone Color Variation
Below, you can see how #5a2ba6 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