#40008b Color Information

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

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

#40008b color description : Dark violet.

#40008b Color Conversion

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

Hex triplet 40008b #40008b
RGB Decimal 64, 0, 139 rgb(64,0,139)
RGB Percent 25.1, 0, 54.5 rgb(25.1%,0%,54.5%)
CMYK 54, 100, 0, 45
HSL 267.6°, 100, 27.3 hsl(267.6,100%,27.3%)
HSV (or HSB) 267.6°, 100, 54.5
Web Safe 330099 #330099
CIE-LAB 19.859, 52.737, -60.049
XYZ 6.774, 2.954, 24.638
xyY 0.197, 0.086, 2.954
CIE-LCH 19.859, 79.919, 311.291
CIE-LUV 19.859, 4.886, -65.998
Hunter-Lab 17.187, 40.272, -72.962
Binary 01000000, 00000000, 10001011

Color Schemes with #40008b

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

Alternatives to #40008b

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

Similar Colors

#40008b Preview

Text with hexadecimal color #40008b

This text has a font color of #40008b.

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

This paragraph has a background color of #40008b.

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

This element has a border color of #40008b.

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

Shades and Tints of #40008b

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

Shade Color Variation
Tint Color Variation

Tones of #40008b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40008b 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
  • #232323 Achromatopsia 0.005% of the population
  • #291c38 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396e Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #293d42 Tritanopia 0.001% of the population
Trichromacy
  • #172479 Protanomaly 1% of men, 0.01% of women
  • #17266f Deuteranomaly 6% of men, 0.4% of women
  • #31275c Tritanomaly 0.01% of the population