#340f42 Color Information

In a RGB color space, hex #340f42 is composed of 20.4% red, 5.9% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 77.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 283.5 degrees, a saturation of 63% and a lightness of 15.9%. #340f42 color hex could be obtained by blending #681e84 with #000000. Closest websafe color is: #330033.

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

#340f42 color description : Very dark violet.

#340f42 Color Conversion

The hexadecimal color #340f42 has RGB values of R:52, G:15, B:66 and CMYK values of C:0.21, M:0.77, Y:0, K:0.74. Its decimal value is 3411778.

Hex triplet 340f42 #340f42
RGB Decimal 52, 15, 66 rgb(52,15,66)
RGB Percent 20.4, 5.9, 25.9 rgb(20.4%,5.9%,25.9%)
CMYK 21, 77, 0, 74
HSL 283.5°, 63, 15.9 hsl(283.5,63%,15.9%)
HSV (or HSB) 283.5°, 77.3, 25.9
Web Safe 330033 #330033
CIE-LAB 12.385, 27.729, -24.091
XYZ 2.57, 1.465, 5.301
xyY 0.275, 0.157, 1.465
CIE-LCH 12.385, 36.733, 319.015
CIE-LUV 12.385, 9.067, -22.92
Hunter-Lab 12.104, 16.72, -17.494
Binary 00110100, 00001111, 01000010

Color Schemes with #340f42

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

Alternatives to #340f42

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

Similar Colors

#340f42 Preview

Text with hexadecimal color #340f42

This text has a font color of #340f42.

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

This paragraph has a background color of #340f42.

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

This element has a border color of #340f42.

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

Shades and Tints of #340f42

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

Shade Color Variation
Tint Color Variation

Tones of #340f42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f42 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
  • #202020 Achromatopsia 0.005% of the population
  • #241d27 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002a53 Protanopia 1% of men
  • #162c46 Deuteranopia 1% of men
  • #382729 Tritanopia 0.001% of the population
Trichromacy
  • #12204d Protanomaly 1% of men, 0.01% of women
  • #212144 Deuteranomaly 6% of men, 0.4% of women
  • #361e32 Tritanomaly 0.01% of the population