#5b3798 hex color
In a RGB color space, hex #5b3798 is composed of 35.7% red, 21.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.1% cyan, 63.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 262.3 degrees, a saturation of 46.9% and a lightness of 40.6%. #5b3798 color hex could be obtained by blending #b66eff with #000031. Closest websafe color is: #663399.
-
- R 36
- G 22
- B 60
RGB color chart
-
- C 40
- M 64
- Y 0
- K 40
CMYK color chart
● #5b3798 color description : Dark moderate violet.
The hexadecimal color #5b3798 has RGB values of R:91, G:55, B:152 and CMYK values of C:0.4, M:0.64, Y:0, K:0.4. Its decimal value is 5978008.
Hex triplet | 5b3798 | #5b3798 |
---|---|---|
RGB Decimal | 91, 55, 152 | rgb(91,55,152) |
RGB Percent | 35.7, 21.6, 59.6 | rgb(35.7%,21.6%,59.6%) |
CMYK | 40, 64, 0, 40 | |
HSL | 262.3°, 46.9, 40.6 | hsl(262.3,46.9%,40.6%) |
HSV (or HSB) | 262.3°, 63.8, 59.6 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 32.31, 37.964, -47.568 |
---|---|
XYZ | 11.347, 7.223, 30.5 |
xyY | 0.231, 0.147, 7.223 |
CIE-LCH | 32.31, 60.86, 308.594 |
CIE-LUV | 32.31, 7.169, -67.423 |
Hunter-Lab | 26.877, 28.328, -48.471 |
Binary | 01011011, 00110111, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b3798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b3798
This text has a font color of #5b3798.
<span style="color:#5b3798;">Text here</span>
#5b3798 background color
This paragraph has a background color of #5b3798.
<p style="background-color:#5b3798;">Content here</p>
#5b3798 border color
This element has a border color of #5b3798.
<div style="border:1px solid #5b3798;">Content here</div>
CSS codes
.text {color:#5b3798;}
.background {background-color:#5b3798;}
.border {border:1px solid #5b3798;}
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, #050308 is the darkest color, while #faf9fd is the lightest one.
-
#050308
#050308
rgb(5,3,8)
-
#0d0816
#0d0816
rgb(13,8,22)
-
#160d25
#160d25
rgb(22,13,37)
-
#1f1333
#1f1333
rgb(31,19,51)
-
#271842
#271842
rgb(39,24,66)
-
#301d50
#301d50
rgb(48,29,80)
-
#39225e
#39225e
rgb(57,34,94)
-
#41276d
#41276d
rgb(65,39,109)
-
#4a2d7b
#4a2d7b
rgb(74,45,123)
-
#52328a
#52328a
rgb(82,50,138)
-
#5b3798
#5b3798
rgb(91,55,152)
-
#643ca6
#643ca6
rgb(100,60,166)
-
#6c41b5
#6c41b5
rgb(108,65,181)
Shade Color Variation
-
#764cbe
#764cbe
rgb(118,76,190)
-
#815ac3
#815ac3
rgb(129,90,195)
-
#8c69c9
#8c69c9
rgb(140,105,201)
-
#9777ce
#9777ce
rgb(151,119,206)
-
#a285d3
#a285d3
rgb(162,133,211)
-
#ad94d8
#ad94d8
rgb(173,148,216)
-
#b8a2dd
#b8a2dd
rgb(184,162,221)
-
#c3b1e3
#c3b1e3
rgb(195,177,227)
-
#cebfe8
#cebfe8
rgb(206,191,232)
-
#d9cded
#d9cded
rgb(217,205,237)
-
#e4dcf2
#e4dcf2
rgb(228,220,242)
-
#efeaf7
#efeaf7
rgb(239,234,247)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #676768 is the less saturated color, while #4f07c8 is the most saturated one.
-
#676768
#676768
rgb(103,103,104)
-
#655f70
#655f70
rgb(101,95,112)
-
#635778
#635778
rgb(99,87,120)
-
#614f80
#614f80
rgb(97,79,128)
-
#5f4788
#5f4788
rgb(95,71,136)
-
#5d3f90
#5d3f90
rgb(93,63,144)
-
#5b3798
#5b3798
rgb(91,55,152)
-
#592fa0
#592fa0
rgb(89,47,160)
-
#5727a8
#5727a8
rgb(87,39,168)
-
#551fb0
#551fb0
rgb(85,31,176)
-
#5317b8
#5317b8
rgb(83,23,184)
-
#510fc0
#510fc0
rgb(81,15,192)
-
#4f07c8
#4f07c8
rgb(79,7,200)
Tone Color Variation
Below, you can see how #5b3798 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