#400c8d Color Information

In a RGB color space, hex #400c8d is composed of 25.1% red, 4.7% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 91.5% magenta, 0% yellow and 44.7% black. It has a hue angle of 264.2 degrees, a saturation of 84.3% and a lightness of 30%. #400c8d color hex could be obtained by blending #8018ff 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

#400c8d color description : Dark violet.

#400c8d Color Conversion

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

Hex triplet 400c8d #400c8d
RGB Decimal 64, 12, 141 rgb(64,12,141)
RGB Percent 25.1, 4.7, 55.3 rgb(25.1%,4.7%,55.3%)
CMYK 55, 91, 0, 45
HSL 264.2°, 84.3, 30 hsl(264.2,84.3%,30%)
HSV (or HSB) 264.2°, 91.5, 55.3
Web Safe 330099 #330099
CIE-LAB 21.117, 50.122, -59.218
XYZ 7.053, 3.276, 25.459
xyY 0.197, 0.092, 3.276
CIE-LCH 21.117, 77.583, 310.245
CIE-LUV 21.117, 4.108, -67.513
Hunter-Lab 18.099, 37.881, -70.727
Binary 01000000, 00001100, 10001101

Color Schemes with #400c8d

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

Alternatives to #400c8d

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

Similar Colors

#400c8d Preview

Text with hexadecimal color #400c8d

This text has a font color of #400c8d.

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

This paragraph has a background color of #400c8d.

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

This element has a border color of #400c8d.

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

Shades and Tints of #400c8d

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 #400c8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400c8d 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
  • #2e243e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #284145 Tritanopia 0.001% of the population
Trichromacy
  • #172a7c Protanomaly 1% of men, 0.01% of women
  • #172c73 Deuteranomaly 6% of men, 0.4% of women
  • #312d5f Tritanomaly 0.01% of the population