#400f8d hex color
In a RGB color space, hex #400f8d is composed of 25.1% red, 5.9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 89.4% magenta, 0% yellow and 44.7% black. It has a hue angle of 263.3 degrees, a saturation of 80.8% and a lightness of 30.6%. #400f8d color hex could be obtained by blending #801eff with #00001b. Closest websafe color is: #330099.
-
- R 25
- G 6
- B 55
RGB color chart
-
- C 55
- M 89
- Y 0
- K 45
CMYK color chart
● #400f8d color description : Dark violet.
The hexadecimal color #400f8d has RGB values of R:64, G:15, B:141 and CMYK values of C:0.55, M:0.89, Y:0, K:0.45. Its decimal value is 4198285.
Hex triplet | 400f8d | #400f8d |
---|---|---|
RGB Decimal | 64, 15, 141 | rgb(64,15,141) |
RGB Percent | 25.1, 5.9, 55.3 | rgb(25.1%,5.9%,55.3%) |
CMYK | 55, 89, 0, 45 | |
HSL | 263.3°, 80.8, 30.6 | hsl(263.3,80.8%,30.6%) |
HSV (or HSB) | 263.3°, 89.4, 55.3 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 21.412, 49.241, -58.731 |
---|---|
XYZ | 7.092, 3.355, 25.472 |
xyY | 0.197, 0.093, 3.355 |
CIE-LCH | 21.412, 76.642, 309.977 |
CIE-LUV | 21.412, 3.935, -67.565 |
Hunter-Lab | 18.316, 37.065, -69.634 |
Binary | 01000000, 00001111, 10001101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #400f8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #400f8d
This text has a font color of #400f8d.
<span style="color:#400f8d;">Text here</span>
#400f8d background color
This paragraph has a background color of #400f8d.
<p style="background-color:#400f8d;">Content here</p>
#400f8d border color
This element has a border color of #400f8d.
<div style="border:1px solid #400f8d;">Content here</div>
CSS codes
.text {color:#400f8d;}
.background {background-color:#400f8d;}
.border {border:1px solid #400f8d;}
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, #080211 is the darkest color, while #fefeff is the lightest one.
-
#080211
#080211
rgb(8,2,17)
-
#100423
#100423
rgb(16,4,35)
-
#180634
#180634
rgb(24,6,52)
-
#200746
#200746
rgb(32,7,70)
-
#280958
#280958
rgb(40,9,88)
-
#300b6a
#300b6a
rgb(48,11,106)
-
#380d7b
#380d7b
rgb(56,13,123)
-
#400f8d
#400f8d
rgb(64,15,141)
-
#48119f
#48119f
rgb(72,17,159)
-
#5013b0
#5013b0
rgb(80,19,176)
-
#5815c2
#5815c2
rgb(88,21,194)
-
#6017d4
#6017d4
rgb(96,23,212)
-
#6818e6
#6818e6
rgb(104,24,230)
Shade Color Variation
-
#7429e8
#7429e8
rgb(116,41,232)
-
#7f3bea
#7f3bea
rgb(127,59,234)
-
#8b4dec
#8b4dec
rgb(139,77,236)
-
#965fee
#965fee
rgb(150,95,238)
-
#a270f0
#a270f0
rgb(162,112,240)
-
#ad82f2
#ad82f2
rgb(173,130,242)
-
#b994f4
#b994f4
rgb(185,148,244)
-
#c5a6f5
#c5a6f5
rgb(197,166,245)
-
#d0b7f7
#d0b7f7
rgb(208,183,247)
-
#dcc9f9
#dcc9f9
rgb(220,201,249)
-
#e7dbfb
#e7dbfb
rgb(231,219,251)
-
#f3ecfd
#f3ecfd
rgb(243,236,253)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4b51 is the less saturated color, while #3d0399 is the most saturated one.
-
#4d4b51
#4d4b51
rgb(77,75,81)
-
#4c4557
#4c4557
rgb(76,69,87)
-
#4b3f5d
#4b3f5d
rgb(75,63,93)
-
#493963
#493963
rgb(73,57,99)
-
#483369
#483369
rgb(72,51,105)
-
#472d6f
#472d6f
rgb(71,45,111)
-
#452775
#452775
rgb(69,39,117)
-
#44217b
#44217b
rgb(68,33,123)
-
#431b81
#431b81
rgb(67,27,129)
-
#411587
#411587
rgb(65,21,135)
-
#400f8d
#400f8d
rgb(64,15,141)
-
#3f0993
#3f0993
rgb(63,9,147)
-
#3d0399
#3d0399
rgb(61,3,153)
Tone Color Variation
Below, you can see how #400f8d 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