#5b42b5 hex color
In a RGB color space, hex #5b42b5 is composed of 35.7% red, 25.9% green and 71% blue. Whereas in a CMYK color space, it is composed of 49.7% cyan, 63.5% magenta, 0% yellow and 29% black. It has a hue angle of 253 degrees, a saturation of 46.6% and a lightness of 48.4%. #5b42b5 color hex could be obtained by blending #b684ff with #00006b. Closest websafe color is: #6633cc.
-
- R 36
- G 26
- B 71
RGB color chart
-
- C 50
- M 64
- Y 0
- K 29
CMYK color chart
● #5b42b5 color description : Moderate blue.
The hexadecimal color #5b42b5 has RGB values of R:91, G:66, B:181 and CMYK values of C:0.5, M:0.64, Y:0, K:0.29. Its decimal value is 5980853.
Hex triplet | 5b42b5 | #5b42b5 |
---|---|---|
RGB Decimal | 91, 66, 181 | rgb(91,66,181) |
RGB Percent | 35.7, 25.9, 71 | rgb(35.7%,25.9%,71%) |
CMYK | 50, 64, 0, 29 | |
HSL | 253°, 46.6, 48.4 | hsl(253,46.6%,48.4%) |
HSV (or HSB) | 253°, 63.5, 71 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 36.849, 39.991, -57.602 |
---|---|
XYZ | 14.602, 9.456, 44.769 |
xyY | 0.212, 0.137, 9.456 |
CIE-LCH | 36.849, 70.123, 304.771 |
CIE-LUV | 36.849, 1.455, -84.13 |
Hunter-Lab | 30.751, 30.942, -64.792 |
Binary | 01011011, 01000010, 10110101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b42b5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b42b5
This text has a font color of #5b42b5.
<span style="color:#5b42b5;">Text here</span>
#5b42b5 background color
This paragraph has a background color of #5b42b5.
<p style="background-color:#5b42b5;">Content here</p>
#5b42b5 border color
This element has a border color of #5b42b5.
<div style="border:1px solid #5b42b5;">Content here</div>
CSS codes
.text {color:#5b42b5;}
.background {background-color:#5b42b5;}
.border {border:1px solid #5b42b5;}
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, #040309 is the darkest color, while #faf9fd is the lightest one.
-
#040309
#040309
rgb(4,3,9)
-
#0c0817
#0c0817
rgb(12,8,23)
-
#130e25
#130e25
rgb(19,14,37)
-
#1a1334
#1a1334
rgb(26,19,52)
-
#211842
#211842
rgb(33,24,66)
-
#281d50
#281d50
rgb(40,29,80)
-
#30235f
#30235f
rgb(48,35,95)
-
#37286d
#37286d
rgb(55,40,109)
-
#3e2d7c
#3e2d7c
rgb(62,45,124)
-
#45328a
#45328a
rgb(69,50,138)
-
#4d3898
#4d3898
rgb(77,56,152)
-
#543da7
#543da7
rgb(84,61,167)
-
#5b42b5
#5b42b5
rgb(91,66,181)
Shade Color Variation
-
#654dbe
#654dbe
rgb(101,77,190)
-
#725bc3
#725bc3
rgb(114,91,195)
-
#7e69c8
#7e69c8
rgb(126,105,200)
-
#8a78ce
#8a78ce
rgb(138,120,206)
-
#9786d3
#9786d3
rgb(151,134,211)
-
#a395d8
#a395d8
rgb(163,149,216)
-
#b0a3dd
#b0a3dd
rgb(176,163,221)
-
#bcb1e3
#bcb1e3
rgb(188,177,227)
-
#c8c0e8
#c8c0e8
rgb(200,192,232)
-
#d5ceed
#d5ceed
rgb(213,206,237)
-
#e1dcf2
#e1dcf2
rgb(225,220,242)
-
#eeebf8
#eeebf8
rgb(238,235,248)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7b7b7c is the less saturated color, while #3b09ee is the most saturated one.
-
#7b7b7c
#7b7b7c
rgb(123,123,124)
-
#767286
#767286
rgb(118,114,134)
-
#70688f
#70688f
rgb(112,104,143)
-
#6b5f99
#6b5f99
rgb(107,95,153)
-
#6655a2
#6655a2
rgb(102,85,162)
-
#604cac
#604cac
rgb(96,76,172)
-
#5b42b5
#5b42b5
rgb(91,66,181)
-
#5639bf
#5639bf
rgb(86,57,191)
-
#502fc8
#502fc8
rgb(80,47,200)
-
#4b26d2
#4b26d2
rgb(75,38,210)
-
#461cdb
#461cdb
rgb(70,28,219)
-
#4013e5
#4013e5
rgb(64,19,229)
-
#3b09ee
#3b09ee
rgb(59,9,238)
Tone Color Variation
Below, you can see how #5b42b5 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