#40228b Color Information

In a RGB color space, hex #40228b is composed of 25.1% red, 13.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 75.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 257.1 degrees, a saturation of 60.7% and a lightness of 33.9%. #40228b color hex could be obtained by blending #8044ff with #000017. Closest websafe color is: #333399.

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

#40228b color description : Dark violet.

#40228b Color Conversion

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

Hex triplet 40228b #40228b
RGB Decimal 64, 34, 139 rgb(64,34,139)
RGB Percent 25.1, 13.3, 54.5 rgb(25.1%,13.3%,54.5%)
CMYK 54, 76, 0, 45
HSL 257.1°, 60.7, 33.9 hsl(257.1,60.7%,33.9%)
HSV (or HSB) 257.1°, 75.5, 54.5
Web Safe 333399 #333399
CIE-LAB 23.993, 40.596, -53.235
XYZ 7.346, 4.098, 24.829
xyY 0.203, 0.113, 4.098
CIE-LCH 23.993, 66.948, 307.329
CIE-LUV 23.993, 2.247, -65.801
Hunter-Lab 20.243, 29.346, -58.549
Binary 01000000, 00100010, 10001011

Color Schemes with #40228b

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

Alternatives to #40228b

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

Similar Colors

#40228b Preview

Text with hexadecimal color #40228b

This text has a font color of #40228b.

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

This paragraph has a background color of #40228b.

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

This element has a border color of #40228b.

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

Shades and Tints of #40228b

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, #06030d is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40228b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40228b 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
  • #373737 Achromatopsia 0.005% of the population
  • #393348 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00456f Deuteranopia 1% of men
  • #2d474c Tritanopia 0.001% of the population
Trichromacy
  • #173683 Protanomaly 1% of men, 0.01% of women
  • #173879 Deuteranomaly 6% of men, 0.4% of women
  • #333963 Tritanomaly 0.01% of the population