#400c9d Color Information

In a RGB color space, hex #400c9d is composed of 25.1% red, 4.7% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 59.2% cyan, 92.4% magenta, 0% yellow and 38.4% black. It has a hue angle of 261.5 degrees, a saturation of 85.8% and a lightness of 33.1%. #400c9d color hex could be obtained by blending #8018ff with #00003b. Closest websafe color is: #330099.

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

#400c9d color description : Dark violet.

#400c9d Color Conversion

The hexadecimal color #400c9d has RGB values of R:64, G:12, B:157 and CMYK values of C:0.59, M:0.92, Y:0, K:0.38. Its decimal value is 4197533.

Hex triplet 400c9d #400c9d
RGB Decimal 64, 12, 157 rgb(64,12,157)
RGB Percent 25.1, 4.7, 61.6 rgb(25.1%,4.7%,61.6%)
CMYK 59, 92, 0, 38
HSL 261.5°, 85.8, 33.1 hsl(261.5,85.8%,33.1%)
HSV (or HSB) 261.5°, 92.4, 61.6
Web Safe 330099 #330099
CIE-LAB 22.955, 54.192, -66.069
XYZ 8.331, 3.787, 32.188
xyY 0.188, 0.085, 3.787
CIE-LCH 22.955, 85.452, 309.36
CIE-LUV 22.955, 2.456, -76.857
Hunter-Lab 19.46, 42.356, -84.447
Binary 01000000, 00001100, 10011101

Color Schemes with #400c9d

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

Alternatives to #400c9d

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

Similar Colors

#400c9d Preview

Text with hexadecimal color #400c9d

This text has a font color of #400c9d.

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

This paragraph has a background color of #400c9d.

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

This element has a border color of #400c9d.

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

Shades and Tints of #400c9d

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, #05010b is the darkest color, while #faf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400c9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400c9d 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
  • #302643 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7a Protanopia 1% of men
  • #00436a Deuteranopia 1% of men
  • #12474c Tritanopia 0.001% of the population
Trichromacy
  • #172c87 Protanomaly 1% of men, 0.01% of women
  • #172f7c Deuteranomaly 6% of men, 0.4% of women
  • #223169 Tritanomaly 0.01% of the population