#5b2f98 hex color
In a RGB color space, hex #5b2f98 is composed of 35.7% red, 18.4% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.1% cyan, 69.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 265.1 degrees, a saturation of 52.8% and a lightness of 39%. #5b2f98 color hex could be obtained by blending #b65eff with #000031. Closest websafe color is: #663399.
-
- R 36
- G 18
- B 60
RGB color chart
-
- C 40
- M 69
- Y 0
- K 40
CMYK color chart
● #5b2f98 color description : Dark moderate violet.
The hexadecimal color #5b2f98 has RGB values of R:91, G:47, B:152 and CMYK values of C:0.4, M:0.69, Y:0, K:0.4. Its decimal value is 5975960.
Hex triplet | 5b2f98 | #5b2f98 |
---|---|---|
RGB Decimal | 91, 47, 152 | rgb(91,47,152) |
RGB Percent | 35.7, 18.4, 59.6 | rgb(35.7%,18.4%,59.6%) |
CMYK | 40, 69, 0, 40 | |
HSL | 265.1°, 52.8, 39 | hsl(265.1,52.8%,39%) |
HSV (or HSB) | 265.1°, 69.1, 59.6 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 30.698, 42.358, -50.181 |
---|---|
XYZ | 10.997, 6.524, 30.384 |
xyY | 0.23, 0.136, 6.524 |
CIE-LCH | 30.698, 65.668, 310.168 |
CIE-LUV | 30.698, 8.818, -69.745 |
Hunter-Lab | 25.542, 32.155, -52.648 |
Binary | 01011011, 00101111, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b2f98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b2f98
This text has a font color of #5b2f98.
<span style="color:#5b2f98;">Text here</span>
#5b2f98 background color
This paragraph has a background color of #5b2f98.
<p style="background-color:#5b2f98;">Content here</p>
#5b2f98 border color
This element has a border color of #5b2f98.
<div style="border:1px solid #5b2f98;">Content here</div>
CSS codes
.text {color:#5b2f98;}
.background {background-color:#5b2f98;}
.border {border:1px solid #5b2f98;}
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, #010102 is the darkest color, while #f6f2fb is the lightest one.
-
#010102
#010102
rgb(1,1,2)
-
#0a0511
#0a0511
rgb(10,5,17)
-
#130a20
#130a20
rgb(19,10,32)
-
#1c0f2f
#1c0f2f
rgb(28,15,47)
-
#25133e
#25133e
rgb(37,19,62)
-
#2e184d
#2e184d
rgb(46,24,77)
-
#371c5c
#371c5c
rgb(55,28,92)
-
#40216b
#40216b
rgb(64,33,107)
-
#49267a
#49267a
rgb(73,38,122)
-
#522a89
#522a89
rgb(82,42,137)
-
#5b2f98
#5b2f98
rgb(91,47,152)
-
#6434a7
#6434a7
rgb(100,52,167)
-
#6d38b6
#6d38b6
rgb(109,56,182)
Shade Color Variation
-
#763ec3
#763ec3
rgb(118,62,195)
-
#814dc8
#814dc8
rgb(129,77,200)
-
#8b5ccd
#8b5ccd
rgb(139,92,205)
-
#966bd1
#966bd1
rgb(150,107,209)
-
#a17ad6
#a17ad6
rgb(161,122,214)
-
#ab89db
#ab89db
rgb(171,137,219)
-
#b698df
#b698df
rgb(182,152,223)
-
#c1a7e4
#c1a7e4
rgb(193,167,228)
-
#cbb6e9
#cbb6e9
rgb(203,182,233)
-
#d6c5ed
#d6c5ed
rgb(214,197,237)
-
#e1d4f2
#e1d4f2
rgb(225,212,242)
-
#ebe3f6
#ebe3f6
rgb(235,227,246)
-
#f6f2fb
#f6f2fb
rgb(246,242,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #625d6a is the less saturated color, while #5401c6 is the most saturated one.
-
#625d6a
#625d6a
rgb(98,93,106)
-
#615572
#615572
rgb(97,85,114)
-
#604e79
#604e79
rgb(96,78,121)
-
#5f4681
#5f4681
rgb(95,70,129)
-
#5d3e89
#5d3e89
rgb(93,62,137)
-
#5c3790
#5c3790
rgb(92,55,144)
-
#5b2f98
#5b2f98
rgb(91,47,152)
-
#5a27a0
#5a27a0
rgb(90,39,160)
-
#5920a7
#5920a7
rgb(89,32,167)
-
#5718af
#5718af
rgb(87,24,175)
-
#5610b7
#5610b7
rgb(86,16,183)
-
#5509be
#5509be
rgb(85,9,190)
-
#5401c6
#5401c6
rgb(84,1,198)
Tone Color Variation
Below, you can see how #5b2f98 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