#5a2197 hex color
In a RGB color space, hex #5a2197 is composed of 35.3% red, 12.9% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 40.4% cyan, 78.1% magenta, 0% yellow and 40.8% black. It has a hue angle of 269 degrees, a saturation of 64.1% and a lightness of 36.1%. #5a2197 color hex could be obtained by blending #b442ff with #00002f. Closest websafe color is: #663399.
-
- R 35
- G 13
- B 59
RGB color chart
-
- C 40
- M 78
- Y 0
- K 41
CMYK color chart
● #5a2197 color description : Dark violet.
The hexadecimal color #5a2197 has RGB values of R:90, G:33, B:151 and CMYK values of C:0.4, M:0.78, Y:0, K:0.41. Its decimal value is 5906839.
Hex triplet | 5a2197 | #5a2197 |
---|---|---|
RGB Decimal | 90, 33, 151 | rgb(90,33,151) |
RGB Percent | 35.3, 12.9, 59.2 | rgb(35.3%,12.9%,59.2%) |
CMYK | 40, 78, 0, 41 | |
HSL | 269°, 64.1, 36.1 | hsl(269,64.1%,36.1%) |
HSV (or HSB) | 269°, 78.1, 59.2 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.103, 48.63, -53.801 |
---|---|
XYZ | 10.345, 5.496, 29.792 |
xyY | 0.227, 0.12, 5.496 |
CIE-LCH | 28.103, 72.522, 312.11 |
CIE-LUV | 28.103, 10.716, -71.9 |
Hunter-Lab | 23.443, 37.746, -58.937 |
Binary | 01011010, 00100001, 10010111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2197. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2197
This text has a font color of #5a2197.
<span style="color:#5a2197;">Text here</span>
#5a2197 background color
This paragraph has a background color of #5a2197.
<p style="background-color:#5a2197;">Content here</p>
#5a2197 border color
This element has a border color of #5a2197.
<div style="border:1px solid #5a2197;">Content here</div>
CSS codes
.text {color:#5a2197;}
.background {background-color:#5a2197;}
.border {border:1px solid #5a2197;}
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, #040106 is the darkest color, while #f9f5fd is the lightest one.
-
#040106
#040106
rgb(4,1,6)
-
#0d0516
#0d0516
rgb(13,5,22)
-
#170826
#170826
rgb(23,8,38)
-
#200c36
#200c36
rgb(32,12,54)
-
#2a0f47
#2a0f47
rgb(42,15,71)
-
#341357
#341357
rgb(52,19,87)
-
#3d1667
#3d1667
rgb(61,22,103)
-
#471a77
#471a77
rgb(71,26,119)
-
#501d87
#501d87
rgb(80,29,135)
-
#5a2197
#5a2197
rgb(90,33,151)
-
#6425a7
#6425a7
rgb(100,37,167)
-
#6d28b7
#6d28b7
rgb(109,40,183)
-
#772cc7
#772cc7
rgb(119,44,199)
Shade Color Variation
-
#8134d3
#8134d3
rgb(129,52,211)
-
#8b44d6
#8b44d6
rgb(139,68,214)
-
#9554da
#9554da
rgb(149,84,218)
-
#9f64dd
#9f64dd
rgb(159,100,221)
-
#a974e1
#a974e1
rgb(169,116,225)
-
#b384e4
#b384e4
rgb(179,132,228)
-
#bd94e8
#bd94e8
rgb(189,148,232)
-
#c7a5eb
#c7a5eb
rgb(199,165,235)
-
#d1b5ef
#d1b5ef
rgb(209,181,239)
-
#dbc5f2
#dbc5f2
rgb(219,197,242)
-
#e5d5f6
#e5d5f6
rgb(229,213,246)
-
#efe5f9
#efe5f9
rgb(239,229,249)
-
#f9f5fd
#f9f5fd
rgb(249,245,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5a5e is the less saturated color, while #5905b3 is the most saturated one.
-
#5c5a5e
#5c5a5e
rgb(92,90,94)
-
#5c5365
#5c5365
rgb(92,83,101)
-
#5b4b6d
#5b4b6d
rgb(91,75,109)
-
#5b4474
#5b4474
rgb(91,68,116)
-
#5b3d7b
#5b3d7b
rgb(91,61,123)
-
#5b3682
#5b3682
rgb(91,54,130)
-
#5a2f89
#5a2f89
rgb(90,47,137)
-
#5a2890
#5a2890
rgb(90,40,144)
-
#5a2197
#5a2197
rgb(90,33,151)
-
#5a1a9e
#5a1a9e
rgb(90,26,158)
-
#5a13a5
#5a13a5
rgb(90,19,165)
-
#590cac
#590cac
rgb(89,12,172)
-
#5905b3
#5905b3
rgb(89,5,179)
Tone Color Variation
Below, you can see how #5a2197 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