#5a2398 hex color
In a RGB color space, hex #5a2398 is composed of 35.3% red, 13.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 77% magenta, 0% yellow and 40.4% black. It has a hue angle of 268.2 degrees, a saturation of 62.6% and a lightness of 36.7%. #5a2398 color hex could be obtained by blending #b446ff with #000031. Closest websafe color is: #663399.
-
- R 35
- G 14
- B 60
RGB color chart
-
- C 41
- M 77
- Y 0
- K 40
CMYK color chart
● #5a2398 color description : Dark violet.
The hexadecimal color #5a2398 has RGB values of R:90, G:35, B:152 and CMYK values of C:0.41, M:0.77, Y:0, K:0.4. Its decimal value is 5907352.
Hex triplet | 5a2398 | #5a2398 |
---|---|---|
RGB Decimal | 90, 35, 152 | rgb(90,35,152) |
RGB Percent | 35.3, 13.7, 59.6 | rgb(35.3%,13.7%,59.6%) |
CMYK | 41, 77, 0, 40 | |
HSL | 268.2°, 62.6, 36.7 | hsl(268.2,62.6%,36.7%) |
HSV (or HSB) | 268.2°, 77, 59.6 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.493, 48.013, -53.778 |
---|---|
XYZ | 10.484, 5.643, 30.241 |
xyY | 0.226, 0.122, 5.643 |
CIE-LCH | 28.493, 72.092, 311.758 |
CIE-LUV | 28.493, 10.3, -72.257 |
Hunter-Lab | 23.755, 37.211, -58.851 |
Binary | 01011010, 00100011, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2398. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2398
This text has a font color of #5a2398.
<span style="color:#5a2398;">Text here</span>
#5a2398 background color
This paragraph has a background color of #5a2398.
<p style="background-color:#5a2398;">Content here</p>
#5a2398 border color
This element has a border color of #5a2398.
<div style="border:1px solid #5a2398;">Content here</div>
CSS codes
.text {color:#5a2398;}
.background {background-color:#5a2398;}
.border {border:1px solid #5a2398;}
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, #050209 is the darkest color, while #faf8fd is the lightest one.
-
#050209
#050209
rgb(5,2,9)
-
#0e0618
#0e0618
rgb(14,6,24)
-
#180928
#180928
rgb(24,9,40)
-
#210d38
#210d38
rgb(33,13,56)
-
#2b1148
#2b1148
rgb(43,17,72)
-
#341458
#341458
rgb(52,20,88)
-
#3e1868
#3e1868
rgb(62,24,104)
-
#471c78
#471c78
rgb(71,28,120)
-
#511f88
#511f88
rgb(81,31,136)
-
#5a2398
#5a2398
rgb(90,35,152)
-
#6327a8
#6327a8
rgb(99,39,168)
-
#6d2ab8
#6d2ab8
rgb(109,42,184)
-
#762ec8
#762ec8
rgb(118,46,200)
Shade Color Variation
-
#8038d1
#8038d1
rgb(128,56,209)
-
#8a48d5
#8a48d5
rgb(138,72,213)
-
#9558d9
#9558d9
rgb(149,88,217)
-
#9f68dc
#9f68dc
rgb(159,104,220)
-
#a978e0
#a978e0
rgb(169,120,224)
-
#b388e4
#b388e4
rgb(179,136,228)
-
#bd98e7
#bd98e7
rgb(189,152,231)
-
#c7a8eb
#c7a8eb
rgb(199,168,235)
-
#d2b8ef
#d2b8ef
rgb(210,184,239)
-
#dcc8f2
#dcc8f2
rgb(220,200,242)
-
#e6d8f6
#e6d8f6
rgb(230,216,246)
-
#f0e8fa
#f0e8fa
rgb(240,232,250)
-
#faf8fd
#faf8fd
rgb(250,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5d5d5e is the less saturated color, while #5806b5 is the most saturated one.
-
#5d5d5e
#5d5d5e
rgb(93,93,94)
-
#5d5566
#5d5566
rgb(93,85,102)
-
#5d4e6d
#5d4e6d
rgb(93,78,109)
-
#5c4774
#5c4774
rgb(92,71,116)
-
#5c407b
#5c407b
rgb(92,64,123)
-
#5b3982
#5b3982
rgb(91,57,130)
-
#5b318a
#5b318a
rgb(91,49,138)
-
#5a2a91
#5a2a91
rgb(90,42,145)
-
#5a2398
#5a2398
rgb(90,35,152)
-
#5a1c9f
#5a1c9f
rgb(90,28,159)
-
#5915a6
#5915a6
rgb(89,21,166)
-
#590dae
#590dae
rgb(89,13,174)
-
#5806b5
#5806b5
rgb(88,6,181)
Tone Color Variation
Below, you can see how #5a2398 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