#40008c Color Information

In a RGB color space, hex #40008c is composed of 25.1% red, 0% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 100% magenta, 0% yellow and 45.1% black. It has a hue angle of 267.4 degrees, a saturation of 100% and a lightness of 27.5%. #40008c color hex could be obtained by blending #8000ff with #000019. 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

#40008c color description : Dark violet.

#40008c Color Conversion

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

Hex triplet 40008c #40008c
RGB Decimal 64, 0, 140 rgb(64,0,140)
RGB Percent 25.1, 0, 54.9 rgb(25.1%,0%,54.9%)
CMYK 54, 100, 0, 45
HSL 267.4°, 100, 27.5 hsl(267.4,100%,27.5%)
HSV (or HSB) 267.4°, 100, 54.9
Web Safe 330099 #330099
CIE-LAB 19.977, 52.973, -60.479
XYZ 6.847, 2.983, 25.025
xyY 0.196, 0.086, 2.983
CIE-LCH 19.977, 80.398, 311.215
CIE-LUV 19.977, 4.773, -66.58
Hunter-Lab 17.272, 40.535, -73.81
Binary 01000000, 00000000, 10001100

Color Schemes with #40008c

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

Alternatives to #40008c

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

Similar Colors

#40008c Preview

Text with hexadecimal color #40008c

This text has a font color of #40008c.

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

This paragraph has a background color of #40008c.

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

This element has a border color of #40008c.

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

Shades and Tints of #40008c

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

Shade Color Variation
Tint Color Variation

Tones of #40008c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40008c 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
  • #003c60 Deuteranopia 1% of men
  • #283e42 Tritanopia 0.001% of the population
Trichromacy
  • #172479 Protanomaly 1% of men, 0.01% of women
  • #172670 Deuteranomaly 6% of men, 0.4% of women
  • #31275d Tritanomaly 0.01% of the population