#340842 Color Information

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

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

#340842 color description : Very dark magenta.

#340842 Color Conversion

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

Hex triplet 340842 #340842
RGB Decimal 52, 8, 66 rgb(52,8,66)
RGB Percent 20.4, 3.1, 25.9 rgb(20.4%,3.1%,25.9%)
CMYK 21, 88, 0, 74
HSL 285.5°, 78.4, 14.5 hsl(285.5,78.4%,14.5%)
HSV (or HSB) 285.5°, 87.9, 25.9
Web Safe 330033 #330033
CIE-LAB 11.256, 30.943, -25.909
XYZ 2.486, 1.297, 5.273
xyY 0.275, 0.143, 1.297
CIE-LCH 11.256, 40.358, 320.06
CIE-LUV 11.256, 9.585, -23.293
Hunter-Lab 11.389, 19.034, -19.479
Binary 00110100, 00001000, 01000010

Color Schemes with #340842

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

Alternatives to #340842

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

Similar Colors

#340842 Preview

Text with hexadecimal color #340842

This text has a font color of #340842.

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

This paragraph has a background color of #340842.

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

This element has a border color of #340842.

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

Shades and Tints of #340842

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

Shade Color Variation
Tint Color Variation

Tones of #340842

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340842 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #211824 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00284f Protanopia 1% of men
  • #0c2a45 Deuteranopia 1% of men
  • #382426 Tritanopia 0.001% of the population
Trichromacy
  • #121c4a Protanomaly 1% of men, 0.01% of women
  • #1b1d44 Deuteranomaly 6% of men, 0.4% of women
  • #361930 Tritanomaly 0.01% of the population