#40078f Color Information

In a RGB color space, hex #40078f is composed of 25.1% red, 2.7% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 95.1% magenta, 0% yellow and 43.9% black. It has a hue angle of 265.1 degrees, a saturation of 90.7% and a lightness of 29.4%. #40078f color hex could be obtained by blending #800eff with #00001f. Closest websafe color is: #330099.

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

#40078f color description : Dark violet.

#40078f Color Conversion

The hexadecimal color #40078f has RGB values of R:64, G:7, B:143 and CMYK values of C:0.55, M:0.95, Y:0, K:0.44. Its decimal value is 4196239.

Hex triplet 40078f #40078f
RGB Decimal 64, 7, 143 rgb(64,7,143)
RGB Percent 25.1, 2.7, 56.1 rgb(25.1%,2.7%,56.1%)
CMYK 55, 95, 0, 44
HSL 265.1°, 90.7, 29.4 hsl(265.1,90.7%,29.4%)
HSV (or HSB) 265.1°, 95.1, 56.1
Web Safe 330099 #330099
CIE-LAB 20.923, 51.892, -60.785
XYZ 7.147, 3.225, 26.231
xyY 0.195, 0.088, 3.225
CIE-LCH 20.923, 79.922, 310.487
CIE-LUV 20.923, 4.127, -68.567
Hunter-Lab 17.958, 39.616, -74.032
Binary 01000000, 00000111, 10001111

Color Schemes with #40078f

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

Alternatives to #40078f

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

Similar Colors

#40078f Preview

Text with hexadecimal color #40078f

This text has a font color of #40078f.

<span style="color:#40078f;">Text here</span>
#40078f background color

This paragraph has a background color of #40078f.

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

This element has a border color of #40078f.

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

Shades and Tints of #40078f

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 #fbf8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40078f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40078f 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
  • #282828 Achromatopsia 0.005% of the population
  • #2d213d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #264045 Tritanopia 0.001% of the population
Trichromacy
  • #17287d Protanomaly 1% of men, 0.01% of women
  • #172a73 Deuteranomaly 6% of men, 0.4% of women
  • #2f2b60 Tritanomaly 0.01% of the population