#40087f Color Information

In a RGB color space, hex #40087f is composed of 25.1% red, 3.1% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 93.7% magenta, 0% yellow and 50.2% black. It has a hue angle of 268.2 degrees, a saturation of 88.1% and a lightness of 26.5%. #40087f color hex could be obtained by blending #8010fe with #000000. Closest websafe color is: #330066.

    • R 25
    • G 3
    • B 50
    RGB color chart
    • C 50
    • M 94
    • Y 0
    • K 50
    CMYK color chart

#40087f color description : Dark violet.

#40087f Color Conversion

The hexadecimal color #40087f has RGB values of R:64, G:8, B:127 and CMYK values of C:0.5, M:0.94, Y:0, K:0.5. Its decimal value is 4196479.

Hex triplet 40087f #40087f
RGB Decimal 64, 8, 127 rgb(64,8,127)
RGB Percent 25.1, 3.1, 49.8 rgb(25.1%,3.1%,49.8%)
CMYK 50, 94, 0, 50
HSL 268.2°, 88.1, 26.5 hsl(268.2,88.1%,26.5%)
HSV (or HSB) 268.2°, 93.7, 49.8
Web Safe 330066 #330066
CIE-LAB 19.207, 47.676, -53.552
XYZ 6.031, 2.796, 20.299
xyY 0.207, 0.096, 2.796
CIE-LCH 19.207, 71.699, 311.678
CIE-LUV 19.207, 5.933, -59.228
Hunter-Lab 16.721, 35.123, -60.274
Binary 01000000, 00001000, 01111111

Color Schemes with #40087f

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

Alternatives to #40087f

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

Similar Colors

#40087f Preview

Text with hexadecimal color #40087f

This text has a font color of #40087f.

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

This paragraph has a background color of #40087f.

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

This element has a border color of #40087f.

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

Shades and Tints of #40087f

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

Shade Color Variation
Tint Color Variation

Tones of #40087f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40087f 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
  • #262626 Achromatopsia 0.005% of the population
  • #2b2038 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376c Protanopia 1% of men
  • #003a5e Deuteranopia 1% of men
  • #323a3f Tritanopia 0.001% of the population
Trichromacy
  • #172673 Protanomaly 1% of men, 0.01% of women
  • #17286a Deuteranomaly 6% of men, 0.4% of women
  • #372856 Tritanomaly 0.01% of the population