#400d8a Color Information

In a RGB color space, hex #400d8a is composed of 25.1% red, 5.1% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 90.6% magenta, 0% yellow and 45.9% black. It has a hue angle of 264.5 degrees, a saturation of 82.8% and a lightness of 29.6%. #400d8a color hex could be obtained by blending #801aff with #000015. Closest websafe color is: #330099.

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

#400d8a color description : Dark violet.

#400d8a Color Conversion

The hexadecimal color #400d8a has RGB values of R:64, G:13, B:138 and CMYK values of C:0.54, M:0.91, Y:0, K:0.46. Its decimal value is 4197770.

Hex triplet 400d8a #400d8a
RGB Decimal 64, 13, 138 rgb(64,13,138)
RGB Percent 25.1, 5.1, 54.1 rgb(25.1%,5.1%,54.1%)
CMYK 54, 91, 0, 46
HSL 264.5°, 82.8, 29.6 hsl(264.5,82.8%,29.6%)
HSV (or HSB) 264.5°, 90.6, 54.1
Web Safe 330099 #330099
CIE-LAB 20.876, 49.074, -57.739
XYZ 6.845, 3.213, 24.303
xyY 0.199, 0.094, 3.213
CIE-LCH 20.876, 75.776, 310.362
CIE-LUV 20.876, 4.385, -65.77
Hunter-Lab 17.924, 36.799, -67.843
Binary 01000000, 00001101, 10001010

Color Schemes with #400d8a

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

Alternatives to #400d8a

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

Similar Colors

#400d8a Preview

Text with hexadecimal color #400d8a

This text has a font color of #400d8a.

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

This paragraph has a background color of #400d8a.

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

This element has a border color of #400d8a.

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

Shades and Tints of #400d8a

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 #fcfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400d8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400d8a 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2e243d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #2b4044 Tritanopia 0.001% of the population
Trichromacy
  • #172a7b Protanomaly 1% of men, 0.01% of women
  • #172c71 Deuteranomaly 6% of men, 0.4% of women
  • #322d5d Tritanomaly 0.01% of the population