#40128b Color Information

In a RGB color space, hex #40128b is composed of 25.1% red, 7.1% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 87.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 262.8 degrees, a saturation of 77.1% and a lightness of 30.8%. #40128b color hex could be obtained by blending #8024ff with #000017. Closest websafe color is: #330099.

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

#40128b color description : Dark violet.

#40128b Color Conversion

The hexadecimal color #40128b has RGB values of R:64, G:18, B:139 and CMYK values of C:0.54, M:0.87, Y:0, K:0.45. Its decimal value is 4199051.

Hex triplet 40128b #40128b
RGB Decimal 64, 18, 139 rgb(64,18,139)
RGB Percent 25.1, 7.1, 54.5 rgb(25.1%,7.1%,54.5%)
CMYK 54, 87, 0, 45
HSL 262.8°, 77.1, 30.8 hsl(262.8,77.1%,30.8%)
HSV (or HSB) 262.8°, 87.1, 54.5
Web Safe 330099 #330099
CIE-LAB 21.53, 47.717, -57.286
XYZ 6.99, 3.387, 24.71
xyY 0.199, 0.097, 3.387
CIE-LCH 21.53, 74.556, 309.793
CIE-LUV 21.53, 3.949, -66.415
Hunter-Lab 18.403, 35.597, -66.729
Binary 01000000, 00010010, 10001011

Color Schemes with #40128b

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

Alternatives to #40128b

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

Similar Colors

#40128b Preview

Text with hexadecimal color #40128b

This text has a font color of #40128b.

<span style="color:#40128b;">Text here</span>
#40128b background color

This paragraph has a background color of #40128b.

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

This element has a border color of #40128b.

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

Shades and Tints of #40128b

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

Shade Color Variation
Tint Color Variation

Tones of #40128b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40128b 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #322841 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f66 Deuteranopia 1% of men
  • #2a4146 Tritanopia 0.001% of the population
Trichromacy
  • #172d7d Protanomaly 1% of men, 0.01% of women
  • #172f73 Deuteranomaly 6% of men, 0.4% of women
  • #32305f Tritanomaly 0.01% of the population