#400d9b Color Information

In a RGB color space, hex #400d9b is composed of 25.1% red, 5.1% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 58.7% cyan, 91.6% magenta, 0% yellow and 39.2% black. It has a hue angle of 261.5 degrees, a saturation of 84.5% and a lightness of 32.9%. #400d9b color hex could be obtained by blending #801aff with #000037. Closest websafe color is: #330099.

    • R 25
    • G 5
    • B 61
    RGB color chart
    • C 59
    • M 92
    • Y 0
    • K 39
    CMYK color chart

#400d9b color description : Dark violet.

#400d9b Color Conversion

The hexadecimal color #400d9b has RGB values of R:64, G:13, B:155 and CMYK values of C:0.59, M:0.92, Y:0, K:0.39. Its decimal value is 4197787.

Hex triplet 400d9b #400d9b
RGB Decimal 64, 13, 155 rgb(64,13,155)
RGB Percent 25.1, 5.1, 60.8 rgb(25.1%,5.1%,60.8%)
CMYK 59, 92, 0, 39
HSL 261.5°, 84.5, 32.9 hsl(261.5,84.5%,32.9%)
HSV (or HSB) 261.5°, 91.6, 60.8
Web Safe 330099 #330099
CIE-LAB 22.807, 53.425, -65.087
XYZ 8.174, 3.744, 31.301
xyY 0.189, 0.087, 3.744
CIE-LCH 22.807, 84.205, 309.38
CIE-LUV 22.807, 2.602, -75.718
Hunter-Lab 19.35, 41.538, -82.363
Binary 01000000, 00001101, 10011011

Color Schemes with #400d9b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #400d9b

Below, you can see some colors close to #400d9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#400d9b Preview

Text with hexadecimal color #400d9b

This text has a font color of #400d9b.

<span style="color:#400d9b;">Text here</span>
#400d9b background color

This paragraph has a background color of #400d9b.

<p style="background-color:#400d9b;">Content here</p>
#400d9b border color

This element has a border color of #400d9b.

<div style="border:1px solid #400d9b;">Content here</div>
CSS codes
.text {color:#400d9b;}
.background {background-color:#400d9b;}
.border {border:1px solid #400d9b;}

Shades and Tints of #400d9b

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, #04010a is the darkest color, while #faf7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400d9b

A tone is produced by adding gray to any pure hue. In this case, #524e5a is the less saturated color, while #3c00a8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400d9b 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #302642 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7a Protanopia 1% of men
  • #00426a Deuteranopia 1% of men
  • #17464b Tritanopia 0.001% of the population
Trichromacy
  • #172c86 Protanomaly 1% of men, 0.01% of women
  • #172f7b Deuteranomaly 6% of men, 0.4% of women
  • #263168 Tritanomaly 0.01% of the population