#402580 hex color
In a RGB color space, hex #402580 is composed of 25.1% red, 14.5% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 71.1% magenta, 0% yellow and 49.8% black. It has a hue angle of 257.8 degrees, a saturation of 55.2% and a lightness of 32.4%. #402580 color hex could be obtained by blending #804aff with #000001. Closest websafe color is: #333399.
-
- R 25
- G 15
- B 50
RGB color chart
-
- C 50
- M 71
- Y 0
- K 50
CMYK color chart
● #402580 color description : Dark violet.
The hexadecimal color #402580 has RGB values of R:64, G:37, B:128 and CMYK values of C:0.5, M:0.71, Y:0, K:0.5. Its decimal value is 4203904.
Hex triplet | 402580 | #402580 |
---|---|---|
RGB Decimal | 64, 37, 128 | rgb(64,37,128) |
RGB Percent | 25.1, 14.5, 50.2 | rgb(25.1%,14.5%,50.2%) |
CMYK | 50, 71, 0, 50 | |
HSL | 257.8°, 55.2, 32.4 | hsl(257.8,55.2%,32.4%) |
HSV (or HSB) | 257.8°, 71.1, 50.2 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 23.577, 35.661, -47.015 |
---|---|
XYZ | 6.672, 3.972, 20.836 |
xyY | 0.212, 0.126, 3.972 |
CIE-LCH | 23.577, 59.01, 307.18 |
CIE-LUV | 23.577, 2.889, -58.456 |
Hunter-Lab | 19.929, 24.881, -48.039 |
Binary | 01000000, 00100101, 10000000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402580. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402580
This text has a font color of #402580.
<span style="color:#402580;">Text here</span>
#402580 background color
This paragraph has a background color of #402580.
<p style="background-color:#402580;">Content here</p>
#402580 border color
This element has a border color of #402580.
<div style="border:1px solid #402580;">Content here</div>
CSS codes
.text {color:#402580;}
.background {background-color:#402580;}
.border {border:1px solid #402580;}
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, #030206 is the darkest color, while #f8f6fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0b0615
#0b0615
rgb(11,6,21)
-
#120b25
#120b25
rgb(18,11,37)
-
#1a0f34
#1a0f34
rgb(26,15,52)
-
#221343
#221343
rgb(34,19,67)
-
#291852
#291852
rgb(41,24,82)
-
#311c62
#311c62
rgb(49,28,98)
-
#382171
#382171
rgb(56,33,113)
-
#402580
#402580
rgb(64,37,128)
-
#48298f
#48298f
rgb(72,41,143)
-
#4f2e9e
#4f2e9e
rgb(79,46,158)
-
#5732ae
#5732ae
rgb(87,50,174)
-
#5e37bd
#5e37bd
rgb(94,55,189)
Shade Color Variation
-
#683fc8
#683fc8
rgb(104,63,200)
-
#744fcc
#744fcc
rgb(116,79,204)
-
#805ed0
#805ed0
rgb(128,94,208)
-
#8c6dd5
#8c6dd5
rgb(140,109,213)
-
#987cd9
#987cd9
rgb(152,124,217)
-
#a48cde
#a48cde
rgb(164,140,222)
-
#b09be2
#b09be2
rgb(176,155,226)
-
#bcaae6
#bcaae6
rgb(188,170,230)
-
#c8b9eb
#c8b9eb
rgb(200,185,235)
-
#d4c8ef
#d4c8ef
rgb(212,200,239)
-
#e0d8f4
#e0d8f4
rgb(224,216,244)
-
#ece7f8
#ece7f8
rgb(236,231,248)
-
#f8f6fc
#f8f6fc
rgb(248,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #525154 is the less saturated color, while #3305a0 is the most saturated one.
-
#525154
#525154
rgb(82,81,84)
-
#4f4b5a
#4f4b5a
rgb(79,75,90)
-
#4d4560
#4d4560
rgb(77,69,96)
-
#4a3e67
#4a3e67
rgb(74,62,103)
-
#48386d
#48386d
rgb(72,56,109)
-
#453273
#453273
rgb(69,50,115)
-
#432b7a
#432b7a
rgb(67,43,122)
-
#402580
#402580
rgb(64,37,128)
-
#3d1f86
#3d1f86
rgb(61,31,134)
-
#3b188d
#3b188d
rgb(59,24,141)
-
#381293
#381293
rgb(56,18,147)
-
#360c99
#360c99
rgb(54,12,153)
-
#3305a0
#3305a0
rgb(51,5,160)
Tone Color Variation
Below, you can see how #402580 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