#340aa5 Color Information

In a RGB color space, hex #340aa5 is composed of 20.4% red, 3.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 68.5% cyan, 93.9% magenta, 0% yellow and 35.3% black. It has a hue angle of 256.3 degrees, a saturation of 88.6% and a lightness of 34.3%. #340aa5 color hex could be obtained by blending #6814ff with #00004b. Closest websafe color is: #330099.

    • R 20
    • G 4
    • B 65
    RGB color chart
    • C 68
    • M 94
    • Y 0
    • K 35
    CMYK color chart

#340aa5 color description : Dark violet.

#340aa5 Color Conversion

The hexadecimal color #340aa5 has RGB values of R:52, G:10, B:165 and CMYK values of C:0.68, M:0.94, Y:0, K:0.35. Its decimal value is 3410597.

Hex triplet 340aa5 #340aa5
RGB Decimal 52, 10, 165 rgb(52,10,165)
RGB Percent 20.4, 3.9, 64.7 rgb(20.4%,3.9%,64.7%)
CMYK 68, 94, 0, 35
HSL 256.3°, 88.6, 34.3 hsl(256.3,88.6%,34.3%)
HSV (or HSB) 256.3°, 93.9, 64.7
Web Safe 330099 #330099
CIE-LAB 22.526, 55.902, -71.698
XYZ 8.315, 3.663, 35.864
xyY 0.174, 0.077, 3.663
CIE-LCH 22.526, 90.915, 307.943
CIE-LUV 22.526, -0.93, -80.637
Hunter-Lab 19.14, 44.051, -97.698
Binary 00110100, 00001010, 10100101

Color Schemes with #340aa5

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

Alternatives to #340aa5

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

Similar Colors

#340aa5 Preview

Text with hexadecimal color #340aa5

This text has a font color of #340aa5.

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

This paragraph has a background color of #340aa5.

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

This element has a border color of #340aa5.

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

Shades and Tints of #340aa5

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

Shade Color Variation
Tint Color Variation

Tones of #340aa5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340aa5 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
  • #282828 Achromatopsia 0.005% of the population
  • #2a2241 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e79 Protanopia 1% of men
  • #004268 Deuteranopia 1% of men
  • #00464a Tritanopia 0.001% of the population
Trichromacy
  • #122b89 Protanomaly 1% of men, 0.01% of women
  • #122d7e Deuteranomaly 6% of men, 0.4% of women
  • #12306b Tritanomaly 0.01% of the population