#5a0158 hex color
In a RGB color space, hex #5a0158 is composed of 35.3% red, 0.4% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 98.9% magenta, 2.2% yellow and 64.7% black. It has a hue angle of 301.3 degrees, a saturation of 97.8% and a lightness of 17.8%. #5a0158 color hex could be obtained by blending #b402b0 with #000000. Closest websafe color is: #660066.
-
- R 35
- G 0
- B 35
RGB color chart
-
- C 0
- M 99
- Y 2
- K 65
CMYK color chart
● #5a0158 color description : Very dark magenta.
The hexadecimal color #5a0158 has RGB values of R:90, G:1, B:88 and CMYK values of C:0, M:0.99, Y:0.02, K:0.65. Its decimal value is 5898584.
Hex triplet | 5a0158 | #5a0158 |
---|---|---|
RGB Decimal | 90, 1, 88 | rgb(90,1,88) |
RGB Percent | 35.3, 0.4, 34.5 | rgb(35.3%,0.4%,34.5%) |
CMYK | 0, 99, 2, 65 | |
HSL | 301.3°, 97.8, 17.8 | hsl(301.3,97.8%,17.8%) |
HSV (or HSB) | 301.3°, 98.9, 35.3 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 19.64, 45.338, -27.183 |
---|---|
XYZ | 5.989, 2.9, 9.476 |
xyY | 0.326, 0.158, 2.9 |
CIE-LCH | 19.64, 52.863, 329.055 |
CIE-LUV | 19.64, 27.976, -34.047 |
Hunter-Lab | 17.03, 32.965, -21.07 |
Binary | 01011010, 00000001, 01011000 |
Split Complementary Color
Below, you can see some colors close to #5a0158. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a0158
This text has a font color of #5a0158.
<span style="color:#5a0158;">Text here</span>
#5a0158 background color
This paragraph has a background color of #5a0158.
<p style="background-color:#5a0158;">Content here</p>
#5a0158 border color
This element has a border color of #5a0158.
<div style="border:1px solid #5a0158;">Content here</div>
CSS codes
.text {color:#5a0158;}
.background {background-color:#5a0158;}
.border {border:1px solid #5a0158;}
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, #0c000c is the darkest color, while #fff8ff is the lightest one.
-
#0c000c
#0c000c
rgb(12,0,12)
-
#20001f
#20001f
rgb(32,0,31)
-
#330132
#330132
rgb(51,1,50)
-
#470145
#470145
rgb(71,1,69)
-
#5a0158
#5a0158
rgb(90,1,88)
-
#6d016b
#6d016b
rgb(109,1,107)
-
#81017e
#81017e
rgb(129,1,126)
-
#940291
#940291
rgb(148,2,145)
-
#a802a4
#a802a4
rgb(168,2,164)
-
#bb02b7
#bb02b7
rgb(187,2,183)
-
#ce02ca
#ce02ca
rgb(206,2,202)
-
#e203dd
#e203dd
rgb(226,3,221)
-
#f503f0
#f503f0
rgb(245,3,240)
Shade Color Variation
-
#fc0ff7
#fc0ff7
rgb(252,15,247)
-
#fd23f8
#fd23f8
rgb(253,35,248)
-
#fd36f8
#fd36f8
rgb(253,54,248)
-
#fd49f9
#fd49f9
rgb(253,73,249)
-
#fd5dfa
#fd5dfa
rgb(253,93,250)
-
#fd70fa
#fd70fa
rgb(253,112,250)
-
#fe84fb
#fe84fb
rgb(254,132,251)
-
#fe97fc
#fe97fc
rgb(254,151,252)
-
#feaafc
#feaafc
rgb(254,170,252)
-
#febefd
#febefd
rgb(254,190,253)
-
#fed1fd
#fed1fd
rgb(254,209,253)
-
#ffe5fe
#ffe5fe
rgb(255,229,254)
-
#fff8ff
#fff8ff
rgb(255,248,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #302b30 is the less saturated color, while #5a0158 is the most saturated one.
-
#302b30
#302b30
rgb(48,43,48)
-
#342833
#342833
rgb(52,40,51)
-
#372437
#372437
rgb(55,36,55)
-
#3b213a
#3b213a
rgb(59,33,58)
-
#3e1d3d
#3e1d3d
rgb(62,29,61)
-
#421a41
#421a41
rgb(66,26,65)
-
#451644
#451644
rgb(69,22,68)
-
#491347
#491347
rgb(73,19,71)
-
#4c0f4b
#4c0f4b
rgb(76,15,75)
-
#500c4e
#500c4e
rgb(80,12,78)
-
#530851
#530851
rgb(83,8,81)
-
#570555
#570555
rgb(87,5,85)
-
#5a0158
#5a0158
rgb(90,1,88)
Tone Color Variation
Below, you can see how #5a0158 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