#5b0798 hex color
In a RGB color space, hex #5b0798 is composed of 35.7% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.1% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 274.8 degrees, a saturation of 91.2% and a lightness of 31.2%. #5b0798 color hex could be obtained by blending #b60eff with #000031. Closest websafe color is: #660099.
-
- R 36
- G 3
- B 60
RGB color chart
-
- C 40
- M 95
- Y 0
- K 40
CMYK color chart
● #5b0798 color description : Dark violet.
The hexadecimal color #5b0798 has RGB values of R:91, G:7, B:152 and CMYK values of C:0.4, M:0.95, Y:0, K:0.4. Its decimal value is 5965720.
Hex triplet | 5b0798 | #5b0798 |
---|---|---|
RGB Decimal | 91, 7, 152 | rgb(91,7,152) |
RGB Percent | 35.7, 2.7, 59.6 | rgb(35.7%,2.7%,59.6%) |
CMYK | 40, 95, 0, 40 | |
HSL | 274.8°, 91.2, 31.2 | hsl(274.8,91.2%,31.2%) |
HSV (or HSB) | 274.8°, 95.4, 59.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.693, 56.778, -58.359 |
---|---|
XYZ | 10.057, 4.643, 30.07 |
xyY | 0.225, 0.104, 4.643 |
CIE-LCH | 25.693, 81.422, 314.213 |
CIE-LUV | 25.693, 12.997, -74.283 |
Hunter-Lab | 21.548, 45.6, -67.655 |
Binary | 01011011, 00000111, 10011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #5b0798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b0798
This text has a font color of #5b0798.
<span style="color:#5b0798;">Text here</span>
#5b0798 background color
This paragraph has a background color of #5b0798.
<p style="background-color:#5b0798;">Content here</p>
#5b0798 border color
This element has a border color of #5b0798.
<div style="border:1px solid #5b0798;">Content here</div>
CSS codes
.text {color:#5b0798;}
.background {background-color:#5b0798;}
.border {border:1px solid #5b0798;}
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, #010002 is the darkest color, while #f7eefe is the lightest one.
-
#010002
#010002
rgb(1,0,2)
-
#0c0115
#0c0115
rgb(12,1,21)
-
#180227
#180227
rgb(24,2,39)
-
#23033a
#23033a
rgb(35,3,58)
-
#2e044d
#2e044d
rgb(46,4,77)
-
#390460
#390460
rgb(57,4,96)
-
#450572
#450572
rgb(69,5,114)
-
#500685
#500685
rgb(80,6,133)
-
#5b0798
#5b0798
rgb(91,7,152)
-
#6608ab
#6608ab
rgb(102,8,171)
-
#7109be
#7109be
rgb(113,9,190)
-
#7d0ad0
#7d0ad0
rgb(125,10,208)
-
#880ae3
#880ae3
rgb(136,10,227)
Shade Color Variation
-
#930df4
#930df4
rgb(147,13,244)
-
#9b20f5
#9b20f5
rgb(155,32,245)
-
#a433f6
#a433f6
rgb(164,51,246)
-
#ac45f6
#ac45f6
rgb(172,69,246)
-
#b458f7
#b458f7
rgb(180,88,247)
-
#bd6bf8
#bd6bf8
rgb(189,107,248)
-
#c57ef9
#c57ef9
rgb(197,126,249)
-
#ce90fa
#ce90fa
rgb(206,144,250)
-
#d6a3fb
#d6a3fb
rgb(214,163,251)
-
#deb6fc
#deb6fc
rgb(222,182,252)
-
#e7c9fd
#e7c9fd
rgb(231,201,253)
-
#efdbfd
#efdbfd
rgb(239,219,253)
-
#f7eefe
#f7eefe
rgb(247,238,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #504a55 is the less saturated color, while #5c019e is the most saturated one.
-
#504a55
#504a55
rgb(80,74,85)
-
#51445b
#51445b
rgb(81,68,91)
-
#523e61
#523e61
rgb(82,62,97)
-
#533867
#533867
rgb(83,56,103)
-
#54326d
#54326d
rgb(84,50,109)
-
#552c73
#552c73
rgb(85,44,115)
-
#562679
#562679
rgb(86,38,121)
-
#571f80
#571f80
rgb(87,31,128)
-
#581986
#581986
rgb(88,25,134)
-
#59138c
#59138c
rgb(89,19,140)
-
#5a0d92
#5a0d92
rgb(90,13,146)
-
#5b0798
#5b0798
rgb(91,7,152)
-
#5c019e
#5c019e
rgb(92,1,158)
Tone Color Variation
Below, you can see how #5b0798 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