#400d8d Color Information

In a RGB color space, hex #400d8d is composed of 25.1% red, 5.1% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 90.8% magenta, 0% yellow and 44.7% black. It has a hue angle of 263.9 degrees, a saturation of 83.1% and a lightness of 30.2%. #400d8d color hex could be obtained by blending #801aff with #00001b. Closest websafe color is: #330099.

    • R 25
    • G 5
    • B 55
    RGB color chart
    • C 55
    • M 91
    • Y 0
    • K 45
    CMYK color chart

#400d8d color description : Dark violet.

#400d8d Color Conversion

The hexadecimal color #400d8d has RGB values of R:64, G:13, B:141 and CMYK values of C:0.55, M:0.91, Y:0, K:0.45. Its decimal value is 4197773.

Hex triplet 400d8d #400d8d
RGB Decimal 64, 13, 141 rgb(64,13,141)
RGB Percent 25.1, 5.1, 55.3 rgb(25.1%,5.1%,55.3%)
CMYK 55, 91, 0, 45
HSL 263.9°, 83.1, 30.2 hsl(263.9,83.1%,30.2%)
HSV (or HSB) 263.9°, 90.8, 55.3
Web Safe 330099 #330099
CIE-LAB 21.21, 49.842, -59.063
XYZ 7.065, 3.301, 25.463
xyY 0.197, 0.092, 3.301
CIE-LCH 21.21, 77.283, 310.16
CIE-LUV 21.21, 4.054, -67.532
Hunter-Lab 18.168, 37.62, -70.377
Binary 01000000, 00001101, 10001101

Color Schemes with #400d8d

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

Alternatives to #400d8d

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

Similar Colors

#400d8d Preview

Text with hexadecimal color #400d8d

This text has a font color of #400d8d.

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

This paragraph has a background color of #400d8d.

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

This element has a border color of #400d8d.

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

Shades and Tints of #400d8d

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, #07010f is the darkest color, while #fdfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400d8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400d8d 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2f253f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #284145 Tritanopia 0.001% of the population
Trichromacy
  • #172a7d Protanomaly 1% of men, 0.01% of women
  • #172c73 Deuteranomaly 6% of men, 0.4% of women
  • #312e5f Tritanomaly 0.01% of the population