#342040 Color Information

In a RGB color space, hex #342040 is composed of 20.4% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 18.8% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 277.5 degrees, a saturation of 33.3% and a lightness of 18.8%. #342040 color hex could be obtained by blending #684080 with #000000. Closest websafe color is: #333333.

    • R 20
    • G 13
    • B 25
    RGB color chart
    • C 19
    • M 50
    • Y 0
    • K 75
    CMYK color chart

#342040 color description : Very dark desaturated violet.

#342040 Color Conversion

The hexadecimal color #342040 has RGB values of R:52, G:32, B:64 and CMYK values of C:0.19, M:0.5, Y:0, K:0.75. Its decimal value is 3416128.

Hex triplet 342040 #342040
RGB Decimal 52, 32, 64 rgb(52,32,64)
RGB Percent 20.4, 12.5, 25.1 rgb(20.4%,12.5%,25.1%)
CMYK 19, 50, 0, 75
HSL 277.5°, 33.3, 18.8 hsl(277.5,33.3%,18.8%)
HSV (or HSB) 277.5°, 50, 25.1
Web Safe 333333 #333333
CIE-LAB 16.172, 16.809, -16.679
XYZ 2.858, 2.133, 5.111
xyY 0.283, 0.211, 2.133
CIE-LCH 16.172, 23.68, 315.222
CIE-LUV 16.172, 6.291, -18.04
Hunter-Lab 14.606, 9.367, -10.525
Binary 00110100, 00100000, 01000000

Color Schemes with #342040

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

Alternatives to #342040

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

Similar Colors

#342040 Preview

Text with hexadecimal color #342040

This text has a font color of #342040.

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

This paragraph has a background color of #342040.

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

This element has a border color of #342040.

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

Shades and Tints of #342040

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, #0a060c is the darkest color, while #fefefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #342040

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #342040 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2c282e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #27324f Protanopia 1% of men
  • #2a3247 Deuteranopia 1% of men
  • #3a3034 Tritanopia 0.001% of the population
Trichromacy
  • #2b2b49 Protanomaly 1% of men, 0.01% of women
  • #2e2c44 Deuteranomaly 6% of men, 0.4% of women
  • #382a38 Tritanomaly 0.01% of the population