#400c8b hex color
In a RGB color space, hex #400c8b is composed of 25.1% red, 4.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 91.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 264.6 degrees, a saturation of 84.1% and a lightness of 29.6%. #400c8b color hex could be obtained by blending #8018ff with #000017. Closest websafe color is: #330099.
-
- R 25
- G 5
- B 55
RGB color chart
-
- C 54
- M 91
- Y 0
- K 45
CMYK color chart
● #400c8b color description : Dark violet.
The hexadecimal color #400c8b has RGB values of R:64, G:12, B:139 and CMYK values of C:0.54, M:0.91, Y:0, K:0.45. Its decimal value is 4197515.
Hex triplet | 400c8b | #400c8b |
---|---|---|
RGB Decimal | 64, 12, 139 | rgb(64,12,139) |
RGB Percent | 25.1, 4.7, 54.5 | rgb(25.1%,4.7%,54.5%) |
CMYK | 54, 91, 0, 45 | |
HSL | 264.6°, 84.1, 29.6 | hsl(264.6,84.1%,29.6%) |
HSV (or HSB) | 264.6°, 91.4, 54.5 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 20.892, 49.614, -58.339 |
---|---|
XYZ | 6.905, 3.217, 24.682 |
xyY | 0.198, 0.092, 3.217 |
CIE-LCH | 20.892, 76.583, 310.379 |
CIE-LUV | 20.892, 4.328, -66.34 |
Hunter-Lab | 17.936, 37.334, -69.035 |
Binary | 01000000, 00001100, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #400c8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #400c8b
This text has a font color of #400c8b.
<span style="color:#400c8b;">Text here</span>
#400c8b background color
This paragraph has a background color of #400c8b.
<p style="background-color:#400c8b;">Content here</p>
#400c8b border color
This element has a border color of #400c8b.
<div style="border:1px solid #400c8b;">Content here</div>
CSS codes
.text {color:#400c8b;}
.background {background-color:#400c8b;}
.border {border:1px solid #400c8b;}
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, #06010d is the darkest color, while #fcfaff is the lightest one.
-
#06010d
#06010d
rgb(6,1,13)
-
#0e031f
#0e031f
rgb(14,3,31)
-
#160431
#160431
rgb(22,4,49)
-
#1f0643
#1f0643
rgb(31,6,67)
-
#270755
#270755
rgb(39,7,85)
-
#2f0967
#2f0967
rgb(47,9,103)
-
#380a79
#380a79
rgb(56,10,121)
-
#400c8b
#400c8b
rgb(64,12,139)
-
#480e9d
#480e9d
rgb(72,14,157)
-
#510faf
#510faf
rgb(81,15,175)
-
#5911c1
#5911c1
rgb(89,17,193)
-
#6112d3
#6112d3
rgb(97,18,211)
-
#6a14e5
#6a14e5
rgb(106,20,229)
Shade Color Variation
-
#7421ec
#7421ec
rgb(116,33,236)
-
#7f33ed
#7f33ed
rgb(127,51,237)
-
#8b45ef
#8b45ef
rgb(139,69,239)
-
#9657f0
#9657f0
rgb(150,87,240)
-
#a169f2
#a169f2
rgb(161,105,242)
-
#ac7bf4
#ac7bf4
rgb(172,123,244)
-
#b88df5
#b88df5
rgb(184,141,245)
-
#c39ff7
#c39ff7
rgb(195,159,247)
-
#ceb1f8
#ceb1f8
rgb(206,177,248)
-
#dac3fa
#dac3fa
rgb(218,195,250)
-
#e5d5fb
#e5d5fb
rgb(229,213,251)
-
#f0e7fd
#f0e7fd
rgb(240,231,253)
-
#fcfaff
#fcfaff
rgb(252,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b4651 is the less saturated color, while #3e0097 is the most saturated one.
-
#4b4651
#4b4651
rgb(75,70,81)
-
#494057
#494057
rgb(73,64,87)
-
#483a5d
#483a5d
rgb(72,58,93)
-
#473562
#473562
rgb(71,53,98)
-
#462f68
#462f68
rgb(70,47,104)
-
#45296e
#45296e
rgb(69,41,110)
-
#442374
#442374
rgb(68,35,116)
-
#431d7a
#431d7a
rgb(67,29,122)
-
#42187f
#42187f
rgb(66,24,127)
-
#411285
#411285
rgb(65,18,133)
-
#400c8b
#400c8b
rgb(64,12,139)
-
#3f0691
#3f0691
rgb(63,6,145)
-
#3e0097
#3e0097
rgb(62,0,151)
Tone Color Variation
Below, you can see how #400c8b 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