#40238c Color Information

In a RGB color space, hex #40238c is composed of 25.1% red, 13.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 75% magenta, 0% yellow and 45.1% black. It has a hue angle of 256.6 degrees, a saturation of 60% and a lightness of 34.3%. #40238c color hex could be obtained by blending #8046ff with #000019. Closest websafe color is: #333399.

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

#40238c color description : Dark violet.

#40238c Color Conversion

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

Hex triplet 40238c #40238c
RGB Decimal 64, 35, 140 rgb(64,35,140)
RGB Percent 25.1, 13.7, 54.9 rgb(25.1%,13.7%,54.9%)
CMYK 54, 75, 0, 45
HSL 256.6°, 60, 34.3 hsl(256.6,60%,34.3%)
HSV (or HSB) 256.6°, 75, 54.9
Web Safe 333399 #333399
CIE-LAB 24.275, 40.365, -53.395
XYZ 7.448, 4.185, 25.225
xyY 0.202, 0.114, 4.185
CIE-LCH 24.275, 66.935, 307.088
CIE-LUV 24.275, 2.005, -66.322
Hunter-Lab 20.458, 29.185, -58.784
Binary 01000000, 00100011, 10001100

Color Schemes with #40238c

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

Alternatives to #40238c

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

Similar Colors

#40238c Preview

Text with hexadecimal color #40238c

This text has a font color of #40238c.

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

This paragraph has a background color of #40238c.

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

This element has a border color of #40238c.

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

Shades and Tints of #40238c

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, #07040e is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40238c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40238c 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a3449 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004280 Protanopia 1% of men
  • #004570 Deuteranopia 1% of men
  • #2c484d Tritanopia 0.001% of the population
Trichromacy
  • #173684 Protanomaly 1% of men, 0.01% of women
  • #17397a Deuteranomaly 6% of men, 0.4% of women
  • #333a64 Tritanomaly 0.01% of the population