#5a1587 hex color
In a RGB color space, hex #5a1587 is composed of 35.3% red, 8.2% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 84.4% magenta, 0% yellow and 47.1% black. It has a hue angle of 276.3 degrees, a saturation of 73.1% and a lightness of 30.6%. #5a1587 color hex could be obtained by blending #b42aff with #00000f. Closest websafe color is: #660099.
-
- R 35
- G 8
- B 53
RGB color chart
-
- C 33
- M 84
- Y 0
- K 47
CMYK color chart
● #5a1587 color description : Dark violet.
The hexadecimal color #5a1587 has RGB values of R:90, G:21, B:135 and CMYK values of C:0.33, M:0.84, Y:0, K:0.47. Its decimal value is 5903751.
Hex triplet | 5a1587 | #5a1587 |
---|---|---|
RGB Decimal | 90, 21, 135 | rgb(90,21,135) |
RGB Percent | 35.3, 8.2, 52.9 | rgb(35.3%,8.2%,52.9%) |
CMYK | 33, 84, 0, 47 | |
HSL | 276.3°, 73.1, 30.6 | hsl(276.3,73.1%,30.6%) |
HSV (or HSB) | 276.3°, 84.4, 52.9 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.136, 49.376, -48.728 |
---|---|
XYZ | 8.857, 4.459, 23.315 |
xyY | 0.242, 0.122, 4.459 |
CIE-LCH | 25.136, 69.371, 315.378 |
CIE-LUV | 25.136, 14.813, -63.019 |
Hunter-Lab | 21.117, 37.912, -50.676 |
Binary | 01011010, 00010101, 10000111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1587. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1587
This text has a font color of #5a1587.
<span style="color:#5a1587;">Text here</span>
#5a1587 background color
This paragraph has a background color of #5a1587.
<p style="background-color:#5a1587;">Content here</p>
#5a1587 border color
This element has a border color of #5a1587.
<div style="border:1px solid #5a1587;">Content here</div>
CSS codes
.text {color:#5a1587;}
.background {background-color:#5a1587;}
.border {border:1px solid #5a1587;}
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, #0b0310 is the darkest color, while #fffeff is the lightest one.
-
#0b0310
#0b0310
rgb(11,3,16)
-
#160521
#160521
rgb(22,5,33)
-
#210832
#210832
rgb(33,8,50)
-
#2d0a43
#2d0a43
rgb(45,10,67)
-
#380d54
#380d54
rgb(56,13,84)
-
#431065
#431065
rgb(67,16,101)
-
#4f1276
#4f1276
rgb(79,18,118)
-
#5a1587
#5a1587
rgb(90,21,135)
-
#651898
#651898
rgb(101,24,152)
-
#711aa9
#711aa9
rgb(113,26,169)
-
#7c1dba
#7c1dba
rgb(124,29,186)
-
#8720cb
#8720cb
rgb(135,32,203)
-
#9322dc
#9322dc
rgb(147,34,220)
Shade Color Variation
-
#9b33df
#9b33df
rgb(155,51,223)
-
#a343e2
#a343e2
rgb(163,67,226)
-
#ac54e4
#ac54e4
rgb(172,84,228)
-
#b465e7
#b465e7
rgb(180,101,231)
-
#bc76ea
#bc76ea
rgb(188,118,234)
-
#c587ec
#c587ec
rgb(197,135,236)
-
#cd98ef
#cd98ef
rgb(205,152,239)
-
#d5a9f2
#d5a9f2
rgb(213,169,242)
-
#ddbaf4
#ddbaf4
rgb(221,186,244)
-
#e6cbf7
#e6cbf7
rgb(230,203,247)
-
#eedcfa
#eedcfa
rgb(238,220,250)
-
#f6edfc
#f6edfc
rgb(246,237,252)
-
#fffeff
#fffeff
rgb(255,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4f4b51 is the less saturated color, while #5e0399 is the most saturated one.
-
#4f4b51
#4f4b51
rgb(79,75,81)
-
#504557
#504557
rgb(80,69,87)
-
#513f5d
#513f5d
rgb(81,63,93)
-
#523963
#523963
rgb(82,57,99)
-
#543369
#543369
rgb(84,51,105)
-
#552d6f
#552d6f
rgb(85,45,111)
-
#562775
#562775
rgb(86,39,117)
-
#57217b
#57217b
rgb(87,33,123)
-
#591b81
#591b81
rgb(89,27,129)
-
#5a1587
#5a1587
rgb(90,21,135)
-
#5b0f8d
#5b0f8d
rgb(91,15,141)
-
#5d0993
#5d0993
rgb(93,9,147)
-
#5e0399
#5e0399
rgb(94,3,153)
Tone Color Variation
Below, you can see how #5a1587 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