#340f56 Color Information

In a RGB color space, hex #340f56 is composed of 20.4% red, 5.9% green and 33.7% blue. Whereas in a CMYK color space, it is composed of 39.5% cyan, 82.6% magenta, 0% yellow and 66.3% black. It has a hue angle of 271.3 degrees, a saturation of 70.3% and a lightness of 19.8%. #340f56 color hex could be obtained by blending #681eac with #000000. Closest websafe color is: #330066.

    • R 20
    • G 6
    • B 34
    RGB color chart
    • C 40
    • M 83
    • Y 0
    • K 66
    CMYK color chart

#340f56 color description : Very dark violet.

#340f56 Color Conversion

The hexadecimal color #340f56 has RGB values of R:52, G:15, B:86 and CMYK values of C:0.4, M:0.83, Y:0, K:0.66. Its decimal value is 3411798.

Hex triplet 340f56 #340f56
RGB Decimal 52, 15, 86 rgb(52,15,86)
RGB Percent 20.4, 5.9, 33.7 rgb(20.4%,5.9%,33.7%)
CMYK 40, 83, 0, 66
HSL 271.3°, 70.3, 19.8 hsl(271.3,70.3%,19.8%)
HSV (or HSB) 271.3°, 82.6, 33.7
Web Safe 330066 #330066
CIE-LAB 14.08, 32.906, -35.156
XYZ 3.266, 1.744, 8.968
xyY 0.234, 0.125, 1.744
CIE-LCH 14.08, 48.153, 313.106
CIE-LUV 14.08, 6.247, -34.727
Hunter-Lab 13.205, 21.047, -31.024
Binary 00110100, 00001111, 01010110

Color Schemes with #340f56

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

Alternatives to #340f56

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

Similar Colors

#340f56 Preview

Text with hexadecimal color #340f56

This text has a font color of #340f56.

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

This paragraph has a background color of #340f56.

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

This element has a border color of #340f56.

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

Shades and Tints of #340f56

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 #f7f1fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340f56

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f56 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
  • #222222 Achromatopsia 0.005% of the population
  • #261e2c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002d59 Protanopia 1% of men
  • #00304e Deuteranopia 1% of men
  • #332d30 Tritanopia 0.001% of the population
Trichromacy
  • #122258 Protanomaly 1% of men, 0.01% of women
  • #122451 Deuteranomaly 6% of men, 0.4% of women
  • #33223e Tritanomaly 0.01% of the population