#340f7b Color Information

In a RGB color space, hex #340f7b is composed of 20.4% red, 5.9% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 57.7% cyan, 87.8% magenta, 0% yellow and 51.8% black. It has a hue angle of 260.6 degrees, a saturation of 78.3% and a lightness of 27.1%. #340f7b color hex could be obtained by blending #681ef6 with #000000. Closest websafe color is: #330066.

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

#340f7b color description : Dark violet.

#340f7b Color Conversion

The hexadecimal color #340f7b has RGB values of R:52, G:15, B:123 and CMYK values of C:0.58, M:0.88, Y:0, K:0.52. Its decimal value is 3411835.

Hex triplet 340f7b #340f7b
RGB Decimal 52, 15, 123 rgb(52,15,123)
RGB Percent 20.4, 5.9, 48.2 rgb(20.4%,5.9%,48.2%)
CMYK 58, 88, 0, 52
HSL 260.6°, 78.3, 27.1 hsl(260.6,78.3%,27.1%)
HSV (or HSB) 260.6°, 87.8, 48.2
Web Safe 330066 #330066
CIE-LAB 17.926, 43.11, -53.168
XYZ 5.162, 2.502, 18.949
xyY 0.194, 0.094, 2.502
CIE-LCH 17.926, 68.449, 309.036
CIE-LUV 17.926, 2.235, -56.426
Hunter-Lab 15.817, 30.572, -59.959
Binary 00110100, 00001111, 01111011

Color Schemes with #340f7b

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

Alternatives to #340f7b

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

Similar Colors

#340f7b Preview

Text with hexadecimal color #340f7b

This text has a font color of #340f7b.

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

This paragraph has a background color of #340f7b.

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

This element has a border color of #340f7b.

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

Shades and Tints of #340f7b

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

Shade Color Variation
Tint Color Variation

Tones of #340f7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f7b 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
  • #262626 Achromatopsia 0.005% of the population
  • #292137 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003567 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #1d3a3f Tritanopia 0.001% of the population
Trichromacy
  • #12276e Protanomaly 1% of men, 0.01% of women
  • #122965 Deuteranomaly 6% of men, 0.4% of women
  • #252a54 Tritanomaly 0.01% of the population