#340f9a Color Information

In a RGB color space, hex #340f9a is composed of 20.4% red, 5.9% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 66.2% cyan, 90.3% magenta, 0% yellow and 39.6% black. It has a hue angle of 256 degrees, a saturation of 82.2% and a lightness of 33.1%. #340f9a color hex could be obtained by blending #681eff with #000035. Closest websafe color is: #330099.

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

#340f9a color description : Dark violet.

#340f9a Color Conversion

The hexadecimal color #340f9a has RGB values of R:52, G:15, B:154 and CMYK values of C:0.66, M:0.9, Y:0, K:0.4. Its decimal value is 3411866.

Hex triplet 340f9a #340f9a
RGB Decimal 52, 15, 154 rgb(52,15,154)
RGB Percent 20.4, 5.9, 60.4 rgb(20.4%,5.9%,60.4%)
CMYK 66, 90, 0, 40
HSL 256°, 82.2, 33.1 hsl(256,82.2%,33.1%)
HSV (or HSB) 256°, 90.3, 60.4
Web Safe 330099 #330099
CIE-LAB 21.596, 51.628, -66.519
XYZ 7.419, 3.405, 30.836
xyY 0.178, 0.082, 3.405
CIE-LCH 21.596, 84.204, 307.817
CIE-LUV 21.596, -0.369, -74.514
Hunter-Lab 18.451, 39.479, -86.171
Binary 00110100, 00001111, 10011010

Color Schemes with #340f9a

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

Alternatives to #340f9a

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

Similar Colors

#340f9a Preview

Text with hexadecimal color #340f9a

This text has a font color of #340f9a.

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

This paragraph has a background color of #340f9a.

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

This element has a border color of #340f9a.

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

Shades and Tints of #340f9a

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, #04010b is the darkest color, while #faf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340f9a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f9a 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
  • #2c2540 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #004065 Deuteranopia 1% of men
  • #004448 Tritanopia 0.001% of the population
Trichromacy
  • #122c82 Protanomaly 1% of men, 0.01% of women
  • #122e78 Deuteranomaly 6% of men, 0.4% of women
  • #123166 Tritanomaly 0.01% of the population