#400b8b Color Information

In a RGB color space, hex #400b8b is composed of 25.1% red, 4.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 92.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 264.8 degrees, a saturation of 85.3% and a lightness of 29.4%. #400b8b color hex could be obtained by blending #8016ff with #000017. Closest websafe color is: #330099.

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

#400b8b color description : Dark violet.

#400b8b Color Conversion

The hexadecimal color #400b8b has RGB values of R:64, G:11, B:139 and CMYK values of C:0.54, M:0.92, Y:0, K:0.45. Its decimal value is 4197259.

Hex triplet 400b8b #400b8b
RGB Decimal 64, 11, 139 rgb(64,11,139)
RGB Percent 25.1, 4.3, 54.5 rgb(25.1%,4.3%,54.5%)
CMYK 54, 92, 0, 45
HSL 264.8°, 85.3, 29.4 hsl(264.8,85.3%,29.4%)
HSV (or HSB) 264.8°, 92.1, 54.5
Web Safe 330099 #330099
CIE-LAB 20.802, 49.885, -58.488
XYZ 6.893, 3.193, 24.678
xyY 0.198, 0.092, 3.193
CIE-LCH 20.802, 76.872, 310.461
CIE-LUV 20.802, 4.38, -66.321
Hunter-Lab 17.87, 37.585, -69.369
Binary 01000000, 00001011, 10001011

Color Schemes with #400b8b

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

Alternatives to #400b8b

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

Similar Colors

#400b8b Preview

Text with hexadecimal color #400b8b

This text has a font color of #400b8b.

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

This paragraph has a background color of #400b8b.

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

This element has a border color of #400b8b.

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

Shades and Tints of #400b8b

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

Shade Color Variation
Tint Color Variation

Tones of #400b8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400b8b 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
  • #292929 Achromatopsia 0.005% of the population
  • #2e233d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #2a4044 Tritanopia 0.001% of the population
Trichromacy
  • #17297b Protanomaly 1% of men, 0.01% of women
  • #172b71 Deuteranomaly 6% of men, 0.4% of women
  • #322c5e Tritanomaly 0.01% of the population