#40007f Color Information

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

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

#40007f color description : Dark violet.

#40007f Color Conversion

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

Hex triplet 40007f #40007f
RGB Decimal 64, 0, 127 rgb(64,0,127)
RGB Percent 25.1, 0, 49.8 rgb(25.1%,0%,49.8%)
CMYK 50, 100, 0, 50
HSL 270.2°, 100, 24.9 hsl(270.2,100%,24.9%)
HSV (or HSB) 270.2°, 100, 49.8
Web Safe 330066 #330066
CIE-LAB 18.463, 49.923, -54.781
XYZ 5.944, 2.622, 20.27
xyY 0.206, 0.091, 2.622
CIE-LCH 18.463, 74.117, 312.344
CIE-LUV 18.463, 6.31, -59.015
Hunter-Lab 16.193, 37.187, -62.882
Binary 01000000, 00000000, 01111111

Color Schemes with #40007f

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

Alternatives to #40007f

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

Similar Colors

#40007f Preview

Text with hexadecimal color #40007f

This text has a font color of #40007f.

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

This paragraph has a background color of #40007f.

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

This element has a border color of #40007f.

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

Shades and Tints of #40007f

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

Shade Color Variation
Tint Color Variation

Tones of #40007f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40007f 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
  • #222222 Achromatopsia 0.005% of the population
  • #281b35 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #00395b Deuteranopia 1% of men
  • #31393d Tritanopia 0.001% of the population
Trichromacy
  • #172271 Protanomaly 1% of men, 0.01% of women
  • #172468 Deuteranomaly 6% of men, 0.4% of women
  • #362455 Tritanomaly 0.01% of the population