#5f2a8b hex color
In a RGB color space, hex #5f2a8b is composed of 37.3% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 272.8 degrees, a saturation of 53.6% and a lightness of 35.5%. #5f2a8b color hex could be obtained by blending #be54ff with #000017. Closest websafe color is: #663399.
-
- R 37
- G 16
- B 55
RGB color chart
-
- C 32
- M 70
- Y 0
- K 45
CMYK color chart
● #5f2a8b color description : Dark moderate violet.
The hexadecimal color #5f2a8b has RGB values of R:95, G:42, B:139 and CMYK values of C:0.32, M:0.7, Y:0, K:0.45. Its decimal value is 6236811.
Hex triplet | 5f2a8b | #5f2a8b |
---|---|---|
RGB Decimal | 95, 42, 139 | rgb(95,42,139) |
RGB Percent | 37.3, 16.5, 54.5 | rgb(37.3%,16.5%,54.5%) |
CMYK | 32, 70, 0, 45 | |
HSL | 272.8°, 53.6, 35.5 | hsl(272.8,53.6%,35.5%) |
HSV (or HSB) | 272.8°, 69.8, 54.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 29.294, 42.427, -44.434 |
---|---|
XYZ | 10.207, 5.953, 25.036 |
xyY | 0.248, 0.145, 5.953 |
CIE-LCH | 29.294, 61.436, 313.676 |
CIE-LUV | 29.294, 13.701, -61.501 |
Hunter-Lab | 24.399, 31.974, -43.759 |
Binary | 01011111, 00101010, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f2a8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f2a8b
This text has a font color of #5f2a8b.
<span style="color:#5f2a8b;">Text here</span>
#5f2a8b background color
This paragraph has a background color of #5f2a8b.
<p style="background-color:#5f2a8b;">Content here</p>
#5f2a8b border color
This element has a border color of #5f2a8b.
<div style="border:1px solid #5f2a8b;">Content here</div>
CSS codes
.text {color:#5f2a8b;}
.background {background-color:#5f2a8b;}
.border {border:1px solid #5f2a8b;}
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, #020103 is the darkest color, while #f8f3fb is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0d0612
#0d0612
rgb(13,6,18)
-
#170a22
#170a22
rgb(23,10,34)
-
#210f31
#210f31
rgb(33,15,49)
-
#2c1340
#2c1340
rgb(44,19,64)
-
#36184f
#36184f
rgb(54,24,79)
-
#401c5e
#401c5e
rgb(64,28,94)
-
#4a216d
#4a216d
rgb(74,33,109)
-
#55257c
#55257c
rgb(85,37,124)
-
#5f2a8b
#5f2a8b
rgb(95,42,139)
-
#692f9a
#692f9a
rgb(105,47,154)
-
#7433a9
#7433a9
rgb(116,51,169)
-
#7e38b8
#7e38b8
rgb(126,56,184)
Shade Color Variation
-
#883fc5
#883fc5
rgb(136,63,197)
-
#914ec9
#914ec9
rgb(145,78,201)
-
#9b5dce
#9b5dce
rgb(155,93,206)
-
#a46cd3
#a46cd3
rgb(164,108,211)
-
#ad7bd7
#ad7bd7
rgb(173,123,215)
-
#b78adc
#b78adc
rgb(183,138,220)
-
#c099e0
#c099e0
rgb(192,153,224)
-
#c9a8e5
#c9a8e5
rgb(201,168,229)
-
#d3b7e9
#d3b7e9
rgb(211,183,233)
-
#dcc6ee
#dcc6ee
rgb(220,198,238)
-
#e5d5f2
#e5d5f2
rgb(229,213,242)
-
#eee4f7
#eee4f7
rgb(238,228,247)
-
#f8f3fb
#f8f3fb
rgb(248,243,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5b5461 is the less saturated color, while #6300b5 is the most saturated one.
-
#5b5461
#5b5461
rgb(91,84,97)
-
#5c4d68
#5c4d68
rgb(92,77,104)
-
#5c466f
#5c466f
rgb(92,70,111)
-
#5d3f76
#5d3f76
rgb(93,63,118)
-
#5e387d
#5e387d
rgb(94,56,125)
-
#5e3184
#5e3184
rgb(94,49,132)
-
#5f2a8b
#5f2a8b
rgb(95,42,139)
-
#602392
#602392
rgb(96,35,146)
-
#601c99
#601c99
rgb(96,28,153)
-
#6115a0
#6115a0
rgb(97,21,160)
-
#620ea7
#620ea7
rgb(98,14,167)
-
#6207ae
#6207ae
rgb(98,7,174)
-
#6300b5
#6300b5
rgb(99,0,181)
Tone Color Variation
Below, you can see how #5f2a8b 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