#340f8e Color Information

In a RGB color space, hex #340f8e is composed of 20.4% red, 5.9% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 63.4% cyan, 89.4% magenta, 0% yellow and 44.3% black. It has a hue angle of 257.5 degrees, a saturation of 80.9% and a lightness of 30.8%. #340f8e color hex could be obtained by blending #681eff with #00001d. Closest websafe color is: #330099.

    • R 20
    • G 6
    • B 56
    RGB color chart
    • C 63
    • M 89
    • Y 0
    • K 44
    CMYK color chart

#340f8e color description : Dark violet.

#340f8e Color Conversion

The hexadecimal color #340f8e has RGB values of R:52, G:15, B:142 and CMYK values of C:0.63, M:0.89, Y:0, K:0.44. Its decimal value is 3411854.

Hex triplet 340f8e #340f8e
RGB Decimal 52, 15, 142 rgb(52,15,142)
RGB Percent 20.4, 5.9, 55.7 rgb(20.4%,5.9%,55.7%)
CMYK 63, 89, 0, 44
HSL 257.5°, 80.9, 30.8 hsl(257.5,80.9%,30.8%)
HSV (or HSB) 257.5°, 89.4, 55.7
Web Safe 330099 #330099
CIE-LAB 20.142, 48.356, -61.5
XYZ 6.469, 3.024, 25.833
xyY 0.183, 0.086, 3.024
CIE-LCH 20.142, 78.234, 308.177
CIE-LUV 20.142, 0.581, -67.521
Hunter-Lab 17.391, 35.958, -75.895
Binary 00110100, 00001111, 10001110

Color Schemes with #340f8e

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

Alternatives to #340f8e

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

Similar Colors

#340f8e Preview

Text with hexadecimal color #340f8e

This text has a font color of #340f8e.

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

This paragraph has a background color of #340f8e.

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

This element has a border color of #340f8e.

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

Shades and Tints of #340f8e

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

Shade Color Variation
Tint Color Variation

Tones of #340f8e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f8e 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
  • #292929 Achromatopsia 0.005% of the population
  • #2b243d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003d61 Deuteranopia 1% of men
  • #004145 Tritanopia 0.001% of the population
Trichromacy
  • #122a7a Protanomaly 1% of men, 0.01% of women
  • #122c71 Deuteranomaly 6% of men, 0.4% of women
  • #122e5f Tritanomaly 0.01% of the population