#5b31b8 hex color
In a RGB color space, hex #5b31b8 is composed of 35.7% red, 19.2% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 50.5% cyan, 73.4% magenta, 0% yellow and 27.8% black. It has a hue angle of 258.7 degrees, a saturation of 57.9% and a lightness of 45.7%. #5b31b8 color hex could be obtained by blending #b662ff with #000071. Closest websafe color is: #6633cc.
-
- R 36
- G 19
- B 72
RGB color chart
-
- C 51
- M 73
- Y 0
- K 28
CMYK color chart
● #5b31b8 color description : Moderate violet.
The hexadecimal color #5b31b8 has RGB values of R:91, G:49, B:184 and CMYK values of C:0.51, M:0.73, Y:0, K:0.28. Its decimal value is 5976504.
Hex triplet | 5b31b8 | #5b31b8 |
---|---|---|
RGB Decimal | 91, 49, 184 | rgb(91,49,184) |
RGB Percent | 35.7, 19.2, 72.2 | rgb(35.7%,19.2%,72.2%) |
CMYK | 51, 73, 0, 28 | |
HSL | 258.7°, 57.9, 45.7 | hsl(258.7,57.9%,45.7%) |
HSV (or HSB) | 258.7°, 73.4, 72.2 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 33.734, 50.081, -64.458 |
---|---|
XYZ | 14.063, 7.881, 46.125 |
xyY | 0.207, 0.116, 7.881 |
CIE-LCH | 33.734, 81.627, 307.846 |
CIE-LUV | 33.734, 4.383, -90.457 |
Hunter-Lab | 28.074, 40.287, -77.762 |
Binary | 01011011, 00110001, 10111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b31b8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b31b8
This text has a font color of #5b31b8.
<span style="color:#5b31b8;">Text here</span>
#5b31b8 background color
This paragraph has a background color of #5b31b8.
<p style="background-color:#5b31b8;">Content here</p>
#5b31b8 border color
This element has a border color of #5b31b8.
<div style="border:1px solid #5b31b8;">Content here</div>
CSS codes
.text {color:#5b31b8;}
.background {background-color:#5b31b8;}
.border {border:1px solid #5b31b8;}
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, #07040e is the darkest color, while #fefdfe is the lightest one.
-
#07040e
#07040e
rgb(7,4,14)
-
#0e081d
#0e081d
rgb(14,8,29)
-
#160c2d
#160c2d
rgb(22,12,45)
-
#1e103c
#1e103c
rgb(30,16,60)
-
#25144c
#25144c
rgb(37,20,76)
-
#2d185b
#2d185b
rgb(45,24,91)
-
#351c6b
#351c6b
rgb(53,28,107)
-
#3c207a
#3c207a
rgb(60,32,122)
-
#44258a
#44258a
rgb(68,37,138)
-
#4c2999
#4c2999
rgb(76,41,153)
-
#532da9
#532da9
rgb(83,45,169)
-
#5b31b8
#5b31b8
rgb(91,49,184)
-
#6335c7
#6335c7
rgb(99,53,199)
Shade Color Variation
-
#6e43cd
#6e43cd
rgb(110,67,205)
-
#7a53d1
#7a53d1
rgb(122,83,209)
-
#8662d5
#8662d5
rgb(134,98,213)
-
#9272d9
#9272d9
rgb(146,114,217)
-
#9e81dd
#9e81dd
rgb(158,129,221)
-
#aa91e2
#aa91e2
rgb(170,145,226)
-
#b6a0e6
#b6a0e6
rgb(182,160,230)
-
#c2b0ea
#c2b0ea
rgb(194,176,234)
-
#cebfee
#cebfee
rgb(206,191,238)
-
#dacff2
#dacff2
rgb(218,207,242)
-
#e6def6
#e6def6
rgb(230,222,246)
-
#f2eefa
#f2eefa
rgb(242,238,250)
-
#fefdfe
#fefdfe
rgb(254,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #737079 is the less saturated color, while #4a04e5 is the most saturated one.
-
#737079
#737079
rgb(115,112,121)
-
#6f6782
#6f6782
rgb(111,103,130)
-
#6c5e8b
#6c5e8b
rgb(108,94,139)
-
#695594
#695594
rgb(105,85,148)
-
#654c9d
#654c9d
rgb(101,76,157)
-
#6243a6
#6243a6
rgb(98,67,166)
-
#5e3aaf
#5e3aaf
rgb(94,58,175)
-
#5b31b8
#5b31b8
rgb(91,49,184)
-
#5828c1
#5828c1
rgb(88,40,193)
-
#541fca
#541fca
rgb(84,31,202)
-
#5116d3
#5116d3
rgb(81,22,211)
-
#4d0ddc
#4d0ddc
rgb(77,13,220)
-
#4a04e5
#4a04e5
rgb(74,4,229)
Tone Color Variation
Below, you can see how #5b31b8 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