#40138c Color Information

In a RGB color space, hex #40138c is composed of 25.1% red, 7.5% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 86.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 262.3 degrees, a saturation of 76.1% and a lightness of 31.2%. #40138c color hex could be obtained by blending #8026ff with #000019. Closest websafe color is: #330099.

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

#40138c color description : Dark violet.

#40138c Color Conversion

The hexadecimal color #40138c has RGB values of R:64, G:19, B:140 and CMYK values of C:0.54, M:0.86, Y:0, K:0.45. Its decimal value is 4199308.

Hex triplet 40138c #40138c
RGB Decimal 64, 19, 140 rgb(64,19,140)
RGB Percent 25.1, 7.5, 54.9 rgb(25.1%,7.5%,54.9%)
CMYK 54, 86, 0, 45
HSL 262.3°, 76.1, 31.2 hsl(262.3,76.1%,31.2%)
HSV (or HSB) 262.3°, 86.4, 54.9
Web Safe 330099 #330099
CIE-LAB 21.759, 47.623, -57.532
XYZ 7.08, 3.449, 25.102
xyY 0.199, 0.097, 3.449
CIE-LCH 21.759, 74.685, 309.616
CIE-LUV 21.759, 3.765, -67.011
Hunter-Lab 18.572, 35.549, -67.139
Binary 01000000, 00010011, 10001100

Color Schemes with #40138c

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

Alternatives to #40138c

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

Similar Colors

#40138c Preview

Text with hexadecimal color #40138c

This text has a font color of #40138c.

<span style="color:#40138c;">Text here</span>
#40138c background color

This paragraph has a background color of #40138c.

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

This element has a border color of #40138c.

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

Shades and Tints of #40138c

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

Shade Color Variation
Tint Color Variation

Tones of #40138c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40138c 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
  • #322941 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c76 Protanopia 1% of men
  • #004066 Deuteranopia 1% of men
  • #2a4247 Tritanopia 0.001% of the population
Trichromacy
  • #172d7e Protanomaly 1% of men, 0.01% of women
  • #172f74 Deuteranomaly 6% of men, 0.4% of women
  • #323160 Tritanomaly 0.01% of the population