#5b42d1 hex color
In a RGB color space, hex #5b42d1 is composed of 35.7% red, 25.9% green and 82% blue. Whereas in a CMYK color space, it is composed of 56.5% cyan, 68.4% magenta, 0% yellow and 18% black. It has a hue angle of 250.5 degrees, a saturation of 60.9% and a lightness of 53.9%. #5b42d1 color hex could be obtained by blending #b684ff with #0000a3. Closest websafe color is: #6633cc.
-
- R 36
- G 26
- B 82
RGB color chart
-
- C 56
- M 68
- Y 0
- K 18
CMYK color chart
● #5b42d1 color description : Moderate blue.
The hexadecimal color #5b42d1 has RGB values of R:91, G:66, B:209 and CMYK values of C:0.56, M:0.68, Y:0, K:0.18. Its decimal value is 5980881.
Hex triplet | 5b42d1 | #5b42d1 |
---|---|---|
RGB Decimal | 91, 66, 209 | rgb(91,66,209) |
RGB Percent | 35.7, 25.9, 82 | rgb(35.7%,25.9%,82%) |
CMYK | 56, 68, 0, 18 | |
HSL | 250.5°, 60.9, 53.9 | hsl(250.5,60.9%,53.9%) |
HSV (or HSB) | 250.5°, 68.4, 82 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 39.111, 48.352, -70.262 |
---|---|
XYZ | 17.769, 10.723, 61.452 |
xyY | 0.198, 0.119, 10.723 |
CIE-LCH | 39.111, 85.292, 304.535 |
CIE-LUV | 39.111, -1.029, -102.932 |
Hunter-Lab | 32.747, 39.551, -88.339 |
Binary | 01011011, 01000010, 11010001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b42d1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b42d1
This text has a font color of #5b42d1.
<span style="color:#5b42d1;">Text here</span>
#5b42d1 background color
This paragraph has a background color of #5b42d1.
<p style="background-color:#5b42d1;">Content here</p>
#5b42d1 border color
This element has a border color of #5b42d1.
<div style="border:1px solid #5b42d1;">Content here</div>
CSS codes
.text {color:#5b42d1;}
.background {background-color:#5b42d1;}
.border {border:1px solid #5b42d1;}
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, #000000 is the darkest color, while #f2f0fb is the lightest one.
-
#000000
#000000
rgb(0,0,0)
-
#060410
#060410
rgb(6,4,16)
-
#0c0820
#0c0820
rgb(12,8,32)
-
#120c30
#120c30
rgb(18,12,48)
-
#180f3f
#180f3f
rgb(24,15,63)
-
#1e134f
#1e134f
rgb(30,19,79)
-
#24175f
#24175f
rgb(36,23,95)
-
#2a1b6f
#2a1b6f
rgb(42,27,111)
-
#301f7f
#301f7f
rgb(48,31,127)
-
#35238e
#35238e
rgb(53,35,142)
-
#3b269e
#3b269e
rgb(59,38,158)
-
#412aae
#412aae
rgb(65,42,174)
-
#472ebe
#472ebe
rgb(71,46,190)
Shade Color Variation
-
#4d32cd
#4d32cd
rgb(77,50,205)
-
#5b42d1
#5b42d1
rgb(91,66,209)
-
#6952d5
#6952d5
rgb(105,82,213)
-
#7662d9
#7662d9
rgb(118,98,217)
-
#8471dd
#8471dd
rgb(132,113,221)
-
#9281e0
#9281e0
rgb(146,129,224)
-
#9f91e4
#9f91e4
rgb(159,145,228)
-
#ada1e8
#ada1e8
rgb(173,161,232)
-
#bbb0ec
#bbb0ec
rgb(187,176,236)
-
#c9c0f0
#c9c0f0
rgb(201,192,240)
-
#d6d0f4
#d6d0f4
rgb(214,208,244)
-
#e4e0f7
#e4e0f7
rgb(228,224,247)
-
#f2f0fb
#f2f0fb
rgb(242,240,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #848192 is the less saturated color, while #3e15fe is the most saturated one.
-
#848192
#848192
rgb(132,129,146)
-
#7e789b
#7e789b
rgb(126,120,155)
-
#786fa4
#786fa4
rgb(120,111,164)
-
#7366ad
#7366ad
rgb(115,102,173)
-
#6d5db6
#6d5db6
rgb(109,93,182)
-
#6754bf
#6754bf
rgb(103,84,191)
-
#614bc8
#614bc8
rgb(97,75,200)
-
#5b42d1
#5b42d1
rgb(91,66,209)
-
#5539da
#5539da
rgb(85,57,218)
-
#4f30e3
#4f30e3
rgb(79,48,227)
-
#4927ec
#4927ec
rgb(73,39,236)
-
#431ef5
#431ef5
rgb(67,30,245)
-
#3e15fe
#3e15fe
rgb(62,21,254)
Tone Color Variation
Below, you can see how #5b42d1 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