#40038b Color Information

In a RGB color space, hex #40038b is composed of 25.1% red, 1.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 97.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 266.9 degrees, a saturation of 95.8% and a lightness of 27.8%. #40038b color hex could be obtained by blending #8006ff with #000017. Closest websafe color is: #330099.

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

#40038b color description : Dark violet.

#40038b Color Conversion

The hexadecimal color #40038b has RGB values of R:64, G:3, B:139 and CMYK values of C:0.54, M:0.98, Y:0, K:0.45. Its decimal value is 4195211.

Hex triplet 40038b #40038b
RGB Decimal 64, 3, 139 rgb(64,3,139)
RGB Percent 25.1, 1.2, 54.5 rgb(25.1%,1.2%,54.5%)
CMYK 54, 98, 0, 45
HSL 266.9°, 95.8, 27.8 hsl(266.9,95.8%,27.8%)
HSV (or HSB) 266.9°, 97.8, 54.5
Web Safe 330099 #330099
CIE-LAB 20.12, 51.941, -59.616
XYZ 6.806, 3.019, 24.649
xyY 0.197, 0.088, 3.019
CIE-LCH 20.12, 79.069, 311.065
CIE-LUV 20.12, 4.752, -66.111
Hunter-Lab 17.376, 39.514, -71.945
Binary 01000000, 00000011, 10001011

Color Schemes with #40038b

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

Alternatives to #40038b

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

Similar Colors

#40038b Preview

Text with hexadecimal color #40038b

This text has a font color of #40038b.

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

This paragraph has a background color of #40038b.

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

This element has a border color of #40038b.

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

Shades and Tints of #40038b

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

Shade Color Variation
Tint Color Variation

Tones of #40038b

A tone is produced by adding gray to any pure hue. In this case, #474549 is the less saturated color, while #40038b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40038b 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
  • #252525 Achromatopsia 0.005% of the population
  • #2a1e39 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003c61 Deuteranopia 1% of men
  • #293e43 Tritanopia 0.001% of the population
Trichromacy
  • #172579 Protanomaly 1% of men, 0.01% of women
  • #172770 Deuteranomaly 6% of men, 0.4% of women
  • #31285d Tritanomaly 0.01% of the population