#5a1795 hex color
In a RGB color space, hex #5a1795 is composed of 35.3% red, 9% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 84.6% magenta, 0% yellow and 41.6% black. It has a hue angle of 271.9 degrees, a saturation of 73.3% and a lightness of 33.7%. #5a1795 color hex could be obtained by blending #b42eff with #00002b. Closest websafe color is: #660099.
-
- R 35
- G 9
- B 58
RGB color chart
-
- C 40
- M 85
- Y 0
- K 42
CMYK color chart
● #5a1795 color description : Dark violet.
The hexadecimal color #5a1795 has RGB values of R:90, G:23, B:149 and CMYK values of C:0.4, M:0.85, Y:0, K:0.42. Its decimal value is 5904277.
Hex triplet | 5a1795 | #5a1795 |
---|---|---|
RGB Decimal | 90, 23, 149 | rgb(90,23,149) |
RGB Percent | 35.3, 9, 58.4 | rgb(35.3%,9%,58.4%) |
CMYK | 40, 85, 0, 42 | |
HSL | 271.9°, 73.3, 33.7 | hsl(271.9,73.3%,33.7%) |
HSV (or HSB) | 271.9°, 84.6, 58.4 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 26.61, 51.958, -55.013 |
---|---|
XYZ | 9.947, 4.956, 28.865 |
xyY | 0.227, 0.113, 4.956 |
CIE-LCH | 26.61, 75.671, 313.364 |
CIE-LUV | 26.61, 12.103, -71.712 |
Hunter-Lab | 22.263, 40.79, -61.287 |
Binary | 01011010, 00010111, 10010101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1795. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1795
This text has a font color of #5a1795.
<span style="color:#5a1795;">Text here</span>
#5a1795 background color
This paragraph has a background color of #5a1795.
<p style="background-color:#5a1795;">Content here</p>
#5a1795 border color
This element has a border color of #5a1795.
<div style="border:1px solid #5a1795;">Content here</div>
CSS codes
.text {color:#5a1795;}
.background {background-color:#5a1795;}
.border {border:1px solid #5a1795;}
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, #08020d is the darkest color, while #fdfbfe is the lightest one.
-
#08020d
#08020d
rgb(8,2,13)
-
#12051e
#12051e
rgb(18,5,30)
-
#1c072f
#1c072f
rgb(28,7,47)
-
#270a40
#270a40
rgb(39,10,64)
-
#310d51
#310d51
rgb(49,13,81)
-
#3b0f62
#3b0f62
rgb(59,15,98)
-
#451273
#451273
rgb(69,18,115)
-
#501484
#501484
rgb(80,20,132)
-
#5a1795
#5a1795
rgb(90,23,149)
-
#641aa6
#641aa6
rgb(100,26,166)
-
#6f1cb7
#6f1cb7
rgb(111,28,183)
-
#791fc8
#791fc8
rgb(121,31,200)
-
#8321d9
#8321d9
rgb(131,33,217)
Shade Color Variation
-
#8d2fdf
#8d2fdf
rgb(141,47,223)
-
#9640e2
#9640e2
rgb(150,64,226)
-
#9f51e4
#9f51e4
rgb(159,81,228)
-
#a962e7
#a962e7
rgb(169,98,231)
-
#b273e9
#b273e9
rgb(178,115,233)
-
#bb84ec
#bb84ec
rgb(187,132,236)
-
#c595ef
#c595ef
rgb(197,149,239)
-
#cea6f1
#cea6f1
rgb(206,166,241)
-
#d7b7f4
#d7b7f4
rgb(215,183,244)
-
#e1c8f7
#e1c8f7
rgb(225,200,247)
-
#ead9f9
#ead9f9
rgb(234,217,249)
-
#f3eafc
#f3eafc
rgb(243,234,252)
-
#fdfbfe
#fdfbfe
rgb(253,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #565359 is the less saturated color, while #5b03a9 is the most saturated one.
-
#565359
#565359
rgb(86,83,89)
-
#574c60
#574c60
rgb(87,76,96)
-
#574567
#574567
rgb(87,69,103)
-
#573f6d
#573f6d
rgb(87,63,109)
-
#583874
#583874
rgb(88,56,116)
-
#58317b
#58317b
rgb(88,49,123)
-
#592b81
#592b81
rgb(89,43,129)
-
#592488
#592488
rgb(89,36,136)
-
#5a1e8e
#5a1e8e
rgb(90,30,142)
-
#5a1795
#5a1795
rgb(90,23,149)
-
#5a109c
#5a109c
rgb(90,16,156)
-
#5b0aa2
#5b0aa2
rgb(91,10,162)
-
#5b03a9
#5b03a9
rgb(91,3,169)
Tone Color Variation
Below, you can see how #5a1795 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