#340b42 Color Information

In a RGB color space, hex #340b42 is composed of 20.4% red, 4.3% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 83.3% magenta, 0% yellow and 74.1% black. It has a hue angle of 284.7 degrees, a saturation of 71.4% and a lightness of 15.1%. #340b42 color hex could be obtained by blending #681684 with #000000. Closest websafe color is: #330033.

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

#340b42 color description : Very dark violet.

#340b42 Color Conversion

The hexadecimal color #340b42 has RGB values of R:52, G:11, B:66 and CMYK values of C:0.21, M:0.83, Y:0, K:0.74. Its decimal value is 3410754.

Hex triplet 340b42 #340b42
RGB Decimal 52, 11, 66 rgb(52,11,66)
RGB Percent 20.4, 4.3, 25.9 rgb(20.4%,4.3%,25.9%)
CMYK 21, 83, 0, 74
HSL 284.7°, 71.4, 15.1 hsl(284.7,71.4%,15.1%)
HSV (or HSB) 284.7°, 83.3, 25.9
Web Safe 330033 #330033
CIE-LAB 11.708, 29.643, -25.18
XYZ 2.519, 1.363, 5.284
xyY 0.275, 0.149, 1.363
CIE-LCH 11.708, 38.894, 319.655
CIE-LUV 11.708, 9.4, -23.186
Hunter-Lab 11.674, 18.088, -18.666
Binary 00110100, 00001011, 01000010

Color Schemes with #340b42

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

Alternatives to #340b42

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

Similar Colors

#340b42 Preview

Text with hexadecimal color #340b42

This text has a font color of #340b42.

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

This paragraph has a background color of #340b42.

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

This element has a border color of #340b42.

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

Shades and Tints of #340b42

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

Shade Color Variation
Tint Color Variation

Tones of #340b42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340b42 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #221a25 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002950 Protanopia 1% of men
  • #112b46 Deuteranopia 1% of men
  • #382527 Tritanopia 0.001% of the population
Trichromacy
  • #121e4b Protanomaly 1% of men, 0.01% of women
  • #1e1f44 Deuteranomaly 6% of men, 0.4% of women
  • #361b31 Tritanomaly 0.01% of the population