#340f9d Color Information

In a RGB color space, hex #340f9d is composed of 20.4% red, 5.9% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 66.9% cyan, 90.4% magenta, 0% yellow and 38.4% black. It has a hue angle of 255.6 degrees, a saturation of 82.6% and a lightness of 33.7%. #340f9d color hex could be obtained by blending #681eff with #00003b. Closest websafe color is: #330099.

    • R 20
    • G 6
    • B 62
    RGB color chart
    • C 67
    • M 90
    • Y 0
    • K 38
    CMYK color chart

#340f9d color description : Dark violet.

#340f9d Color Conversion

The hexadecimal color #340f9d has RGB values of R:52, G:15, B:157 and CMYK values of C:0.67, M:0.9, Y:0, K:0.38. Its decimal value is 3411869.

Hex triplet 340f9d #340f9d
RGB Decimal 52, 15, 157 rgb(52,15,157)
RGB Percent 20.4, 5.9, 61.6 rgb(20.4%,5.9%,61.6%)
CMYK 67, 90, 0, 38
HSL 255.6°, 82.6, 33.7 hsl(255.6,82.6%,33.7%)
HSV (or HSB) 255.6°, 90.4, 61.6
Web Safe 330099 #330099
CIE-LAB 21.965, 52.44, -67.748
XYZ 7.672, 3.506, 32.169
xyY 0.177, 0.081, 3.506
CIE-LCH 21.965, 85.673, 307.742
CIE-LUV 21.965, -0.597, -76.26
Hunter-Lab 18.724, 40.371, -88.759
Binary 00110100, 00001111, 10011101

Color Schemes with #340f9d

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

Alternatives to #340f9d

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

Similar Colors

#340f9d Preview

Text with hexadecimal color #340f9d

This text has a font color of #340f9d.

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

This paragraph has a background color of #340f9d.

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

This element has a border color of #340f9d.

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

Shades and Tints of #340f9d

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, #05010e is the darkest color, while #fcfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340f9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f9d 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2c2541 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004067 Deuteranopia 1% of men
  • #004549 Tritanopia 0.001% of the population
Trichromacy
  • #122c84 Protanomaly 1% of men, 0.01% of women
  • #122e7a Deuteranomaly 6% of men, 0.4% of women
  • #123167 Tritanomaly 0.01% of the population