#340f7d Color Information

In a RGB color space, hex #340f7d is composed of 20.4% red, 5.9% green and 49% blue. Whereas in a CMYK color space, it is composed of 58.4% cyan, 88% magenta, 0% yellow and 51% black. It has a hue angle of 260.2 degrees, a saturation of 78.6% and a lightness of 27.5%. #340f7d color hex could be obtained by blending #681efa with #000000. Closest websafe color is: #330066.

    • R 20
    • G 6
    • B 49
    RGB color chart
    • C 58
    • M 88
    • Y 0
    • K 51
    CMYK color chart

#340f7d color description : Dark violet.

#340f7d Color Conversion

The hexadecimal color #340f7d has RGB values of R:52, G:15, B:125 and CMYK values of C:0.58, M:0.88, Y:0, K:0.51. Its decimal value is 3411837.

Hex triplet 340f7d #340f7d
RGB Decimal 52, 15, 125 rgb(52,15,125)
RGB Percent 20.4, 5.9, 49 rgb(20.4%,5.9%,49%)
CMYK 58, 88, 0, 51
HSL 260.2°, 78.6, 27.5 hsl(260.2,78.6%,27.5%)
HSV (or HSB) 260.2°, 88, 49
Web Safe 330066 #330066
CIE-LAB 18.153, 43.665, -54.07
XYZ 5.288, 2.552, 19.615
xyY 0.193, 0.093, 2.552
CIE-LCH 18.153, 69.499, 308.923
CIE-LUV 18.153, 2.051, -57.595
Hunter-Lab 15.976, 31.126, -61.613
Binary 00110100, 00001111, 01111101

Color Schemes with #340f7d

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

Alternatives to #340f7d

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

Similar Colors

#340f7d Preview

Text with hexadecimal color #340f7d

This text has a font color of #340f7d.

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

This paragraph has a background color of #340f7d.

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

This element has a border color of #340f7d.

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

Shades and Tints of #340f7d

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

Shade Color Variation
Tint Color Variation

Tones of #340f7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f7d 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
  • #272727 Achromatopsia 0.005% of the population
  • #2a2238 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #00385a Deuteranopia 1% of men
  • #1b3b40 Tritanopia 0.001% of the population
Trichromacy
  • #12276f Protanomaly 1% of men, 0.01% of women
  • #122967 Deuteranomaly 6% of men, 0.4% of women
  • #242b56 Tritanomaly 0.01% of the population