#400c8e Color Information

In a RGB color space, hex #400c8e is composed of 25.1% red, 4.7% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 54.9% cyan, 91.5% magenta, 0% yellow and 44.3% black. It has a hue angle of 264 degrees, a saturation of 84.4% and a lightness of 30.2%. #400c8e color hex could be obtained by blending #8018ff with #00001d. Closest websafe color is: #330099.

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

#400c8e color description : Dark violet.

#400c8e Color Conversion

The hexadecimal color #400c8e has RGB values of R:64, G:12, B:142 and CMYK values of C:0.55, M:0.92, Y:0, K:0.44. Its decimal value is 4197518.

Hex triplet 400c8e #400c8e
RGB Decimal 64, 12, 142 rgb(64,12,142)
RGB Percent 25.1, 4.7, 55.7 rgb(25.1%,4.7%,55.7%)
CMYK 55, 92, 0, 44
HSL 264°, 84.4, 30.2 hsl(264,84.4%,30.2%)
HSV (or HSB) 264°, 91.5, 55.7
Web Safe 330099 #330099
CIE-LAB 21.229, 50.377, -59.656
XYZ 7.127, 3.306, 25.852
xyY 0.196, 0.091, 3.306
CIE-LCH 21.229, 78.081, 310.18
CIE-LUV 21.229, 3.999, -68.099
Hunter-Lab 18.182, 38.155, -71.575
Binary 01000000, 00001100, 10001110

Color Schemes with #400c8e

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

Alternatives to #400c8e

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

Similar Colors

#400c8e Preview

Text with hexadecimal color #400c8e

This text has a font color of #400c8e.

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

This paragraph has a background color of #400c8e.

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

This element has a border color of #400c8e.

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

Shades and Tints of #400c8e

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

Shade Color Variation
Tint Color Variation

Tones of #400c8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400c8e 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
  • #003b74 Protanopia 1% of men
  • #003f64 Deuteranopia 1% of men
  • #274146 Tritanopia 0.001% of the population
Trichromacy
  • #172a7d Protanomaly 1% of men, 0.01% of women
  • #172c73 Deuteranomaly 6% of men, 0.4% of women
  • #302d60 Tritanomaly 0.01% of the population