#400e8b Color Information

In a RGB color space, hex #400e8b is composed of 25.1% red, 5.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 89.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 264 degrees, a saturation of 81.7% and a lightness of 30%. #400e8b color hex could be obtained by blending #801cff with #000017. Closest websafe color is: #330099.

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

#400e8b color description : Dark violet.

#400e8b Color Conversion

The hexadecimal color #400e8b has RGB values of R:64, G:14, B:139 and CMYK values of C:0.54, M:0.9, Y:0, K:0.45. Its decimal value is 4198027.

Hex triplet 400e8b #400e8b
RGB Decimal 64, 14, 139 rgb(64,14,139)
RGB Percent 25.1, 5.5, 54.5 rgb(25.1%,5.5%,54.5%)
CMYK 54, 90, 0, 45
HSL 264°, 81.7, 30 hsl(264,81.7%,30%)
HSV (or HSB) 264°, 89.9, 54.5
Web Safe 330099 #330099
CIE-LAB 21.087, 49.033, -58.017
XYZ 6.931, 3.268, 24.69
xyY 0.199, 0.094, 3.268
CIE-LCH 21.087, 75.962, 310.202
CIE-LUV 21.087, 4.216, -66.374
Hunter-Lab 18.078, 36.799, -68.323
Binary 01000000, 00001110, 10001011

Color Schemes with #400e8b

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

Alternatives to #400e8b

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

Similar Colors

#400e8b Preview

Text with hexadecimal color #400e8b

This text has a font color of #400e8b.

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

This paragraph has a background color of #400e8b.

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

This element has a border color of #400e8b.

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

Shades and Tints of #400e8b

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

Shade Color Variation
Tint Color Variation

Tones of #400e8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400e8b 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
  • #2f253e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #2a4045 Tritanopia 0.001% of the population
Trichromacy
  • #172b7c Protanomaly 1% of men, 0.01% of women
  • #172d72 Deuteranomaly 6% of men, 0.4% of women
  • #322e5e Tritanomaly 0.01% of the population