#331a40 Color Information

In a RGB color space, hex #331a40 is composed of 20% red, 10.2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 20.3% cyan, 59.4% magenta, 0% yellow and 74.9% black. It has a hue angle of 279.5 degrees, a saturation of 42.2% and a lightness of 17.6%. #331a40 color hex could be obtained by blending #663480 with #000000. Closest websafe color is: #333333.

    • R 20
    • G 10
    • B 25
    RGB color chart
    • C 20
    • M 59
    • Y 0
    • K 75
    CMYK color chart

#331a40 color description : Very dark desaturated violet.

#331a40 Color Conversion

The hexadecimal color #331a40 has RGB values of R:51, G:26, B:64 and CMYK values of C:0.2, M:0.59, Y:0, K:0.75. Its decimal value is 3349056.

Hex triplet 331a40 #331a40
RGB Decimal 51, 26, 64 rgb(51,26,64)
RGB Percent 20, 10.2, 25.1 rgb(20%,10.2%,25.1%)
CMYK 20, 59, 0, 75
HSL 279.5°, 42.2, 17.6 hsl(279.5,42.2%,17.6%)
HSV (or HSB) 279.5°, 59.4, 25.1
Web Safe 333333 #333333
CIE-LAB 14.473, 20.455, -19.366
XYZ 2.66, 1.813, 5.06
xyY 0.279, 0.19, 1.813
CIE-LCH 14.473, 28.168, 316.567
CIE-LUV 14.473, 7.23, -19.949
Hunter-Lab 13.464, 11.702, -12.857
Binary 00110011, 00011010, 01000000

Color Schemes with #331a40

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

Alternatives to #331a40

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

Similar Colors

#331a40 Preview

Text with hexadecimal color #331a40

This text has a font color of #331a40.

<span style="color:#331a40;">Text here</span>
#331a40 background color

This paragraph has a background color of #331a40.

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

This element has a border color of #331a40.

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

Shades and Tints of #331a40

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

Shade Color Variation
Tint Color Variation

Tones of #331a40

A tone is produced by adding gray to any pure hue. In this case, #2e2b2f is the less saturated color, while #3b0258 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331a40 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
  • #262626 Achromatopsia 0.005% of the population
  • #29242b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1e2e51 Protanopia 1% of men
  • #232f46 Deuteranopia 1% of men
  • #382c2f Tritanopia 0.001% of the population
Trichromacy
  • #25274a Protanomaly 1% of men, 0.01% of women
  • #292744 Deuteranomaly 6% of men, 0.4% of women
  • #362535 Tritanomaly 0.01% of the population