#40008d Color Information

In a RGB color space, hex #40008d is composed of 25.1% red, 0% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 100% magenta, 0% yellow and 44.7% black. It has a hue angle of 267.2 degrees, a saturation of 100% and a lightness of 27.6%. #40008d color hex could be obtained by blending #8000ff with #00001b. Closest websafe color is: #330099.

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

#40008d color description : Dark violet.

#40008d Color Conversion

The hexadecimal color #40008d has RGB values of R:64, G:0, B:141 and CMYK values of C:0.55, M:1, Y:0, K:0.45. Its decimal value is 4194445.

Hex triplet 40008d #40008d
RGB Decimal 64, 0, 141 rgb(64,0,141)
RGB Percent 25.1, 0, 55.3 rgb(25.1%,0%,55.3%)
CMYK 55, 100, 0, 45
HSL 267.2°, 100, 27.6 hsl(267.2,100%,27.6%)
HSV (or HSB) 267.2°, 100, 55.3
Web Safe 330099 #330099
CIE-LAB 20.096, 53.209, -60.908
XYZ 6.921, 3.013, 25.415
xyY 0.196, 0.085, 3.013
CIE-LCH 20.096, 80.876, 311.14
CIE-LUV 20.096, 4.661, -67.161
Hunter-Lab 17.358, 40.798, -74.659
Binary 01000000, 00000000, 10001101

Color Schemes with #40008d

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

Alternatives to #40008d

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

Similar Colors

#40008d Preview

Text with hexadecimal color #40008d

This text has a font color of #40008d.

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

This paragraph has a background color of #40008d.

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

This element has a border color of #40008d.

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

Shades and Tints of #40008d

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

Shade Color Variation
Tint Color Variation

Tones of #40008d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40008d 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
  • #00396f Protanopia 1% of men
  • #003c61 Deuteranopia 1% of men
  • #273e43 Tritanopia 0.001% of the population
Trichromacy
  • #17247a Protanomaly 1% of men, 0.01% of women
  • #172671 Deuteranomaly 6% of men, 0.4% of women
  • #30275e Tritanomaly 0.01% of the population