#400d8f Color Information

In a RGB color space, hex #400d8f is composed of 25.1% red, 5.1% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 90.9% magenta, 0% yellow and 43.9% black. It has a hue angle of 263.5 degrees, a saturation of 83.3% and a lightness of 30.6%. #400d8f color hex could be obtained by blending #801aff with #00001f. Closest websafe color is: #330099.

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

#400d8f color description : Dark violet.

#400d8f Color Conversion

The hexadecimal color #400d8f has RGB values of R:64, G:13, B:143 and CMYK values of C:0.55, M:0.91, Y:0, K:0.44. Its decimal value is 4197775.

Hex triplet 400d8f #400d8f
RGB Decimal 64, 13, 143 rgb(64,13,143)
RGB Percent 25.1, 5.1, 56.1 rgb(25.1%,5.1%,56.1%)
CMYK 55, 91, 0, 44
HSL 263.5°, 83.3, 30.6 hsl(263.5,83.3%,30.6%)
HSV (or HSB) 263.5°, 90.9, 56.1
Web Safe 330099 #330099
CIE-LAB 21.435, 50.354, -59.939
XYZ 7.215, 3.361, 26.254
xyY 0.196, 0.091, 3.361
CIE-LCH 21.435, 78.283, 310.033
CIE-LUV 21.435, 3.837, -68.705
Hunter-Lab 18.333, 38.171, -72.074
Binary 01000000, 00001101, 10001111

Color Schemes with #400d8f

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

Alternatives to #400d8f

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

Similar Colors

#400d8f Preview

Text with hexadecimal color #400d8f

This text has a font color of #400d8f.

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

This paragraph has a background color of #400d8f.

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

This element has a border color of #400d8f.

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

Shades and Tints of #400d8f

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, #080211 is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400d8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400d8f 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
  • #003c75 Protanopia 1% of men
  • #003f65 Deuteranopia 1% of men
  • #274246 Tritanopia 0.001% of the population
Trichromacy
  • #172b7e Protanomaly 1% of men, 0.01% of women
  • #172d74 Deuteranomaly 6% of men, 0.4% of women
  • #302e61 Tritanomaly 0.01% of the population