#340ea1 Color Information

In a RGB color space, hex #340ea1 is composed of 20.4% red, 5.5% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 67.7% cyan, 91.3% magenta, 0% yellow and 36.9% black. It has a hue angle of 255.5 degrees, a saturation of 84% and a lightness of 34.3%. #340ea1 color hex could be obtained by blending #681cff with #000043. Closest websafe color is: #330099.

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

#340ea1 color description : Dark violet.

#340ea1 Color Conversion

The hexadecimal color #340ea1 has RGB values of R:52, G:14, B:161 and CMYK values of C:0.68, M:0.91, Y:0, K:0.37. Its decimal value is 3411617.

Hex triplet 340ea1 #340ea1
RGB Decimal 52, 14, 161 rgb(52,14,161)
RGB Percent 20.4, 5.5, 63.1 rgb(20.4%,5.5%,63.1%)
CMYK 68, 91, 0, 37
HSL 255.5°, 84, 34.3 hsl(255.5,84%,34.3%)
HSV (or HSB) 255.5°, 91.3, 63.1
Web Safe 330099 #330099
CIE-LAB 22.363, 53.812, -69.534
XYZ 8.005, 3.617, 33.993
xyY 0.175, 0.079, 3.617
CIE-LCH 22.363, 87.925, 307.736
CIE-LUV 22.363, -0.837, -78.53
Hunter-Lab 19.018, 41.85, -92.659
Binary 00110100, 00001110, 10100001

Color Schemes with #340ea1

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

Alternatives to #340ea1

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

Similar Colors

#340ea1 Preview

Text with hexadecimal color #340ea1

This text has a font color of #340ea1.

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

This paragraph has a background color of #340ea1.

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

This element has a border color of #340ea1.

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

Shades and Tints of #340ea1

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 #340ea1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340ea1 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
  • #2c2442 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #004168 Deuteranopia 1% of men
  • #00464a Tritanopia 0.001% of the population
Trichromacy
  • #122c87 Protanomaly 1% of men, 0.01% of women
  • #122e7c Deuteranomaly 6% of men, 0.4% of women
  • #123169 Tritanomaly 0.01% of the population