#5a0198 hex color
In a RGB color space, hex #5a0198 is composed of 35.3% red, 0.4% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.8% cyan, 99.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 275.4 degrees, a saturation of 98.7% and a lightness of 30%. #5a0198 color hex could be obtained by blending #b402ff with #000031. Closest websafe color is: #660099.
-
- R 35
- G 0
- B 60
RGB color chart
-
- C 41
- M 99
- Y 0
- K 40
CMYK color chart
● #5a0198 color description : Dark violet.
The hexadecimal color #5a0198 has RGB values of R:90, G:1, B:152 and CMYK values of C:0.41, M:0.99, Y:0, K:0.4. Its decimal value is 5898648.
Hex triplet | 5a0198 | #5a0198 |
---|---|---|
RGB Decimal | 90, 1, 152 | rgb(90,1,152) |
RGB Percent | 35.3, 0.4, 59.6 | rgb(35.3%,0.4%,59.6%) |
CMYK | 41, 99, 0, 40 | |
HSL | 275.4°, 98.7, 30 | hsl(275.4,98.7%,30%) |
HSV (or HSB) | 275.4°, 99.3, 59.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.145, 57.856, -59.266 |
---|---|
XYZ | 9.894, 4.462, 30.044 |
xyY | 0.223, 0.101, 4.462 |
CIE-LCH | 25.145, 82.824, 314.31 |
CIE-LUV | 25.145, 12.811, -74.461 |
Hunter-Lab | 21.125, 46.634, -69.537 |
Binary | 01011010, 00000001, 10011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #5a0198. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a0198
This text has a font color of #5a0198.
<span style="color:#5a0198;">Text here</span>
#5a0198 background color
This paragraph has a background color of #5a0198.
<p style="background-color:#5a0198;">Content here</p>
#5a0198 border color
This element has a border color of #5a0198.
<div style="border:1px solid #5a0198;">Content here</div>
CSS codes
.text {color:#5a0198;}
.background {background-color:#5a0198;}
.border {border:1px solid #5a0198;}
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, #090010 is the darkest color, while #fdfbff is the lightest one.
-
#090010
#090010
rgb(9,0,16)
-
#150023
#150023
rgb(21,0,35)
-
#200037
#200037
rgb(32,0,55)
-
#2c004a
#2c004a
rgb(44,0,74)
-
#37015e
#37015e
rgb(55,1,94)
-
#430171
#430171
rgb(67,1,113)
-
#4e0185
#4e0185
rgb(78,1,133)
-
#5a0198
#5a0198
rgb(90,1,152)
-
#6601ab
#6601ab
rgb(102,1,171)
-
#7101bf
#7101bf
rgb(113,1,191)
-
#7d01d2
#7d01d2
rgb(125,1,210)
-
#8802e6
#8802e6
rgb(136,2,230)
-
#9402f9
#9402f9
rgb(148,2,249)
Shade Color Variation
-
#9c11fd
#9c11fd
rgb(156,17,253)
-
#a525fe
#a525fe
rgb(165,37,254)
-
#ad38fe
#ad38fe
rgb(173,56,254)
-
#b54cfe
#b54cfe
rgb(181,76,254)
-
#bd5ffe
#bd5ffe
rgb(189,95,254)
-
#c573fe
#c573fe
rgb(197,115,254)
-
#cd86fe
#cd86fe
rgb(205,134,254)
-
#d59afe
#d59afe
rgb(213,154,254)
-
#ddadfe
#ddadfe
rgb(221,173,254)
-
#e5c1ff
#e5c1ff
rgb(229,193,255)
-
#edd4ff
#edd4ff
rgb(237,212,255)
-
#f5e8ff
#f5e8ff
rgb(245,232,255)
-
#fdfbff
#fdfbff
rgb(253,251,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4851 is the less saturated color, while #5a0198 is the most saturated one.
-
#4d4851
#4d4851
rgb(77,72,81)
-
#4e4257
#4e4257
rgb(78,66,87)
-
#4f3c5d
#4f3c5d
rgb(79,60,93)
-
#513663
#513663
rgb(81,54,99)
-
#523069
#523069
rgb(82,48,105)
-
#532a6f
#532a6f
rgb(83,42,111)
-
#542475
#542475
rgb(84,36,117)
-
#551e7b
#551e7b
rgb(85,30,123)
-
#561980
#561980
rgb(86,25,128)
-
#571386
#571386
rgb(87,19,134)
-
#580d8c
#580d8c
rgb(88,13,140)
-
#590792
#590792
rgb(89,7,146)
-
#5a0198
#5a0198
rgb(90,1,152)
Tone Color Variation
Below, you can see how #5a0198 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