#5f12a2 hex color
In a RGB color space, hex #5f12a2 is composed of 37.3% red, 7.1% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 41.4% cyan, 88.9% magenta, 0% yellow and 36.5% black. It has a hue angle of 272.1 degrees, a saturation of 80% and a lightness of 35.3%. #5f12a2 color hex could be obtained by blending #be24ff with #000045. Closest websafe color is: #660099.
-
- R 37
- G 7
- B 64
RGB color chart
-
- C 41
- M 89
- Y 0
- K 36
CMYK color chart
● #5f12a2 color description : Dark violet.
The hexadecimal color #5f12a2 has RGB values of R:95, G:18, B:162 and CMYK values of C:0.41, M:0.89, Y:0, K:0.36. Its decimal value is 6230690.
Hex triplet | 5f12a2 | #5f12a2 |
---|---|---|
RGB Decimal | 95, 18, 162 | rgb(95,18,162) |
RGB Percent | 37.3, 7.1, 63.5 | rgb(37.3%,7.1%,63.5%) |
CMYK | 41, 89, 0, 36 | |
HSL | 272.1°, 80, 35.3 | hsl(272.1,80%,35.3%) |
HSV (or HSB) | 272.1°, 88.9, 63.5 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 28.045, 57.135, -60.584 |
---|---|
XYZ | 11.456, 5.474, 34.634 |
xyY | 0.222, 0.106, 5.474 |
CIE-LCH | 28.045, 83.275, 313.322 |
CIE-LUV | 28.045, 12.476, -79.786 |
Hunter-Lab | 23.397, 46.456, -71.386 |
Binary | 01011111, 00010010, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f12a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f12a2
This text has a font color of #5f12a2.
<span style="color:#5f12a2;">Text here</span>
#5f12a2 background color
This paragraph has a background color of #5f12a2.
<p style="background-color:#5f12a2;">Content here</p>
#5f12a2 border color
This element has a border color of #5f12a2.
<div style="border:1px solid #5f12a2;">Content here</div>
CSS codes
.text {color:#5f12a2;}
.background {background-color:#5f12a2;}
.border {border:1px solid #5f12a2;}
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, #020003 is the darkest color, while #f7f0fd is the lightest one.
-
#020003
#020003
rgb(2,0,3)
-
#0c0215
#0c0215
rgb(12,2,21)
-
#170426
#170426
rgb(23,4,38)
-
#210638
#210638
rgb(33,6,56)
-
#2b084a
#2b084a
rgb(43,8,74)
-
#360a5b
#360a5b
rgb(54,10,91)
-
#400c6d
#400c6d
rgb(64,12,109)
-
#4a0e7f
#4a0e7f
rgb(74,14,127)
-
#551090
#551090
rgb(85,16,144)
-
#5f12a2
#5f12a2
rgb(95,18,162)
-
#6914b4
#6914b4
rgb(105,20,180)
-
#7416c5
#7416c5
rgb(116,22,197)
-
#7e18d7
#7e18d7
rgb(126,24,215)
Shade Color Variation
-
#881de6
#881de6
rgb(136,29,230)
-
#912ee8
#912ee8
rgb(145,46,232)
-
#9b40ea
#9b40ea
rgb(155,64,234)
-
#a452ec
#a452ec
rgb(164,82,236)
-
#ad63ee
#ad63ee
rgb(173,99,238)
-
#b775f0
#b775f0
rgb(183,117,240)
-
#c087f2
#c087f2
rgb(192,135,242)
-
#c998f4
#c998f4
rgb(201,152,244)
-
#d2aaf6
#d2aaf6
rgb(210,170,246)
-
#dcbcf8
#dcbcf8
rgb(220,188,248)
-
#e5cdf9
#e5cdf9
rgb(229,205,249)
-
#eedffb
#eedffb
rgb(238,223,251)
-
#f7f0fd
#f7f0fd
rgb(247,240,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a575d is the less saturated color, while #6004b0 is the most saturated one.
-
#5a575d
#5a575d
rgb(90,87,93)
-
#5b5064
#5b5064
rgb(91,80,100)
-
#5b496b
#5b496b
rgb(91,73,107)
-
#5c4272
#5c4272
rgb(92,66,114)
-
#5c3c78
#5c3c78
rgb(92,60,120)
-
#5d357f
#5d357f
rgb(93,53,127)
-
#5d2e86
#5d2e86
rgb(93,46,134)
-
#5e278d
#5e278d
rgb(94,39,141)
-
#5e2094
#5e2094
rgb(94,32,148)
-
#5f199b
#5f199b
rgb(95,25,155)
-
#5f12a2
#5f12a2
rgb(95,18,162)
-
#5f0ba9
#5f0ba9
rgb(95,11,169)
-
#6004b0
#6004b0
rgb(96,4,176)
Tone Color Variation
Below, you can see how #5f12a2 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