#340042 Color Information

In a RGB color space, hex #340042 is composed of 20.4% red, 0% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 100% magenta, 0% yellow and 74.1% black. It has a hue angle of 287.3 degrees, a saturation of 100% and a lightness of 12.9%. #340042 color hex could be obtained by blending #680084 with #000000. Closest websafe color is: #330033.

    • R 20
    • G 0
    • B 26
    RGB color chart
    • C 21
    • M 100
    • Y 0
    • K 74
    CMYK color chart

#340042 color description : Very dark magenta.

#340042 Color Conversion

The hexadecimal color #340042 has RGB values of R:52, G:0, B:66 and CMYK values of C:0.21, M:1, Y:0, K:0.74. Its decimal value is 3407938.

Hex triplet 340042 #340042
RGB Decimal 52, 0, 66 rgb(52,0,66)
RGB Percent 20.4, 0, 25.9 rgb(20.4%,0%,25.9%)
CMYK 21, 100, 0, 74
HSL 287.3°, 100, 12.9 hsl(287.3,100%,12.9%)
HSV (or HSB) 287.3°, 100, 25.9
Web Safe 330033 #330033
CIE-LAB 9.981, 34.69, -27.974
XYZ 2.399, 1.124, 5.244
xyY 0.274, 0.128, 1.124
CIE-LCH 9.981, 44.564, 321.117
CIE-LUV 9.981, 9.925, -23.266
Hunter-Lab 10.6, 21.857, -21.915
Binary 00110100, 00000000, 01000010

Color Schemes with #340042

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

Alternatives to #340042

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

Similar Colors

#340042 Preview

Text with hexadecimal color #340042

This text has a font color of #340042.

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

This paragraph has a background color of #340042.

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

This element has a border color of #340042.

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

Shades and Tints of #340042

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

Shade Color Variation
Tint Color Variation

Tones of #340042

A tone is produced by adding gray to any pure hue. In this case, #221e24 is the less saturated color, while #340042 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340042 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
  • #171717 Achromatopsia 0.005% of the population
  • #1d1220 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00264a Protanopia 1% of men
  • #002842 Deuteranopia 1% of men
  • #372022 Tritanopia 0.001% of the population
Trichromacy
  • #121847 Protanomaly 1% of men, 0.01% of women
  • #121942 Deuteranomaly 6% of men, 0.4% of women
  • #36142d Tritanomaly 0.01% of the population