#40237f Color Information

In a RGB color space, hex #40237f is composed of 25.1% red, 13.7% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 72.4% magenta, 0% yellow and 50.2% black. It has a hue angle of 258.9 degrees, a saturation of 56.8% and a lightness of 31.8%. #40237f color hex could be obtained by blending #8046fe with #000000. Closest websafe color is: #333366.

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

#40237f color description : Dark violet.

#40237f Color Conversion

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

Hex triplet 40237f #40237f
RGB Decimal 64, 35, 127 rgb(64,35,127)
RGB Percent 25.1, 13.7, 49.8 rgb(25.1%,13.7%,49.8%)
CMYK 50, 72, 0, 50
HSL 258.9°, 56.8, 31.8 hsl(258.9,56.8%,31.8%)
HSV (or HSB) 258.9°, 72.4, 49.8
Web Safe 333366 #333366
CIE-LAB 23.082, 36.489, -47.192
XYZ 6.545, 3.824, 20.471
xyY 0.212, 0.124, 3.824
CIE-LCH 23.082, 59.654, 307.711
CIE-LUV 23.082, 3.324, -58.121
Hunter-Lab 19.556, 25.523, -48.375
Binary 01000000, 00100011, 01111111

Color Schemes with #40237f

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

Alternatives to #40237f

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

Similar Colors

#40237f Preview

Text with hexadecimal color #40237f

This text has a font color of #40237f.

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

This paragraph has a background color of #40237f.

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

This element has a border color of #40237f.

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

Shades and Tints of #40237f

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

Shade Color Variation
Tint Color Variation

Tones of #40237f

A tone is produced by adding gray to any pure hue. In this case, #504f53 is the less saturated color, while #34049e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40237f 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
  • #363636 Achromatopsia 0.005% of the population
  • #383245 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00426c Deuteranopia 1% of men
  • #344348 Tritanopia 0.001% of the population
Trichromacy
  • #17357d Protanomaly 1% of men, 0.01% of women
  • #173773 Deuteranomaly 6% of men, 0.4% of women
  • #38375c Tritanomaly 0.01% of the population