#340aa1 Color Information

In a RGB color space, hex #340aa1 is composed of 20.4% red, 3.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 67.7% cyan, 93.8% magenta, 0% yellow and 36.9% black. It has a hue angle of 256.7 degrees, a saturation of 88.3% and a lightness of 33.5%. #340aa1 color hex could be obtained by blending #6814ff with #000043. Closest websafe color is: #330099.

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

#340aa1 color description : Dark violet.

#340aa1 Color Conversion

The hexadecimal color #340aa1 has RGB values of R:52, G:10, B:161 and CMYK values of C:0.68, M:0.94, Y:0, K:0.37. Its decimal value is 3410593.

Hex triplet 340aa1 #340aa1
RGB Decimal 52, 10, 161 rgb(52,10,161)
RGB Percent 20.4, 3.9, 63.1 rgb(20.4%,3.9%,63.1%)
CMYK 68, 94, 0, 37
HSL 256.7°, 88.3, 33.5 hsl(256.7,88.3%,33.5%)
HSV (or HSB) 256.7°, 93.8, 63.1
Web Safe 330099 #330099
CIE-LAB 22.017, 54.86, -70.109
XYZ 7.957, 3.52, 33.976
xyY 0.175, 0.077, 3.52
CIE-LCH 22.017, 89.022, 308.043
CIE-LUV 22.017, -0.633, -78.31
Hunter-Lab 18.762, 42.866, -94.238
Binary 00110100, 00001010, 10100001

Color Schemes with #340aa1

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

Alternatives to #340aa1

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

Similar Colors

#340aa1 Preview

Text with hexadecimal color #340aa1

This text has a font color of #340aa1.

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

This paragraph has a background color of #340aa1.

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

This element has a border color of #340aa1.

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

Shades and Tints of #340aa1

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

Shade Color Variation
Tint Color Variation

Tones of #340aa1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340aa1 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
  • #2a2240 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004167 Deuteranopia 1% of men
  • #004549 Tritanopia 0.001% of the population
Trichromacy
  • #122a86 Protanomaly 1% of men, 0.01% of women
  • #122d7c Deuteranomaly 6% of men, 0.4% of women
  • #122f69 Tritanomaly 0.01% of the population