#5a1f66 hex color
In a RGB color space, hex #5a1f66 is composed of 35.3% red, 12.2% green and 40% blue. Whereas in a CMYK color space, it is composed of 11.8% cyan, 69.6% magenta, 0% yellow and 60% black. It has a hue angle of 289.9 degrees, a saturation of 53.4% and a lightness of 26.1%. #5a1f66 color hex could be obtained by blending #b43ecc with #000000. Closest websafe color is: #663366.
-
- R 35
- G 12
- B 40
RGB color chart
-
- C 12
- M 70
- Y 0
- K 60
CMYK color chart
● #5a1f66 color description : Very dark magenta.
The hexadecimal color #5a1f66 has RGB values of R:90, G:31, B:102 and CMYK values of C:0.12, M:0.7, Y:0, K:0.6. Its decimal value is 5906278.
Hex triplet | 5a1f66 | #5a1f66 |
---|---|---|
RGB Decimal | 90, 31, 102 | rgb(90,31,102) |
RGB Percent | 35.3, 12.2, 40 | rgb(35.3%,12.2%,40%) |
CMYK | 12, 70, 0, 60 | |
HSL | 289.9°, 53.4, 26.1 | hsl(289.9,53.4%,26.1%) |
HSV (or HSB) | 289.9°, 69.6, 40 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 24.042, 38.024, -29.417 |
---|---|
XYZ | 7.104, 4.113, 12.989 |
xyY | 0.293, 0.17, 4.113 |
CIE-LCH | 24.042, 48.075, 322.273 |
CIE-LUV | 24.042, 20.58, -39.018 |
Hunter-Lab | 20.281, 27.036, -23.776 |
Binary | 01011010, 00011111, 01100110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1f66. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1f66
This text has a font color of #5a1f66.
<span style="color:#5a1f66;">Text here</span>
#5a1f66 background color
This paragraph has a background color of #5a1f66.
<p style="background-color:#5a1f66;">Content here</p>
#5a1f66 border color
This element has a border color of #5a1f66.
<div style="border:1px solid #5a1f66;">Content here</div>
CSS codes
.text {color:#5a1f66;}
.background {background-color:#5a1f66;}
.border {border:1px solid #5a1f66;}
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, #0a040c is the darkest color, while #fefcfe is the lightest one.
-
#0a040c
#0a040c
rgb(10,4,12)
-
#18081b
#18081b
rgb(24,8,27)
-
#250d2a
#250d2a
rgb(37,13,42)
-
#321139
#321139
rgb(50,17,57)
-
#3f1648
#3f1648
rgb(63,22,72)
-
#4d1a57
#4d1a57
rgb(77,26,87)
-
#5a1f66
#5a1f66
rgb(90,31,102)
-
#672475
#672475
rgb(103,36,117)
-
#752884
#752884
rgb(117,40,132)
-
#822d93
#822d93
rgb(130,45,147)
-
#8f31a2
#8f31a2
rgb(143,49,162)
-
#9c36b1
#9c36b1
rgb(156,54,177)
-
#aa3ac0
#aa3ac0
rgb(170,58,192)
Shade Color Variation
-
#b247c7
#b247c7
rgb(178,71,199)
-
#b856cc
#b856cc
rgb(184,86,204)
-
#be65d0
#be65d0
rgb(190,101,208)
-
#c574d5
#c574d5
rgb(197,116,213)
-
#cb83d9
#cb83d9
rgb(203,131,217)
-
#d192de
#d192de
rgb(209,146,222)
-
#d8a1e3
#d8a1e3
rgb(216,161,227)
-
#deb0e7
#deb0e7
rgb(222,176,231)
-
#e4c0ec
#e4c0ec
rgb(228,192,236)
-
#ebcff0
#ebcff0
rgb(235,207,240)
-
#f1def5
#f1def5
rgb(241,222,245)
-
#f7edf9
#f7edf9
rgb(247,237,249)
-
#fefcfe
#fefcfe
rgb(254,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #463e47 is the less saturated color, while #6e0085 is the most saturated one.
-
#463e47
#463e47
rgb(70,62,71)
-
#49394c
#49394c
rgb(73,57,76)
-
#4c3352
#4c3352
rgb(76,51,82)
-
#502e57
#502e57
rgb(80,46,87)
-
#53295c
#53295c
rgb(83,41,92)
-
#572461
#572461
rgb(87,36,97)
-
#5a1f66
#5a1f66
rgb(90,31,102)
-
#5d1a6b
#5d1a6b
rgb(93,26,107)
-
#611570
#611570
rgb(97,21,112)
-
#641075
#641075
rgb(100,16,117)
-
#680b7a
#680b7a
rgb(104,11,122)
-
#6b0580
#6b0580
rgb(107,5,128)
-
#6e0085
#6e0085
rgb(110,0,133)
Tone Color Variation
Below, you can see how #5a1f66 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