#340c87 Color Information

In a RGB color space, hex #340c87 is composed of 20.4% red, 4.7% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 61.5% cyan, 91.1% magenta, 0% yellow and 47.1% black. It has a hue angle of 259.5 degrees, a saturation of 83.7% and a lightness of 28.8%. #340c87 color hex could be obtained by blending #6818ff with #00000f. Closest websafe color is: #330099.

    • R 20
    • G 5
    • B 53
    RGB color chart
    • C 61
    • M 91
    • Y 0
    • K 47
    CMYK color chart

#340c87 color description : Dark violet.

#340c87 Color Conversion

The hexadecimal color #340c87 has RGB values of R:52, G:12, B:135 and CMYK values of C:0.61, M:0.91, Y:0, K:0.47. Its decimal value is 3411079.

Hex triplet 340c87 #340c87
RGB Decimal 52, 12, 135 rgb(52,12,135)
RGB Percent 20.4, 4.7, 52.9 rgb(20.4%,4.7%,52.9%)
CMYK 61, 91, 0, 47
HSL 259.5°, 83.7, 28.8 hsl(259.5,83.7%,28.8%)
HSV (or HSB) 259.5°, 91.1, 52.9
Web Safe 330099 #330099
CIE-LAB 18.98, 47.422, -59.038
XYZ 5.92, 2.742, 23.138
xyY 0.186, 0.086, 2.742
CIE-LCH 18.98, 75.725, 308.773
CIE-LUV 18.98, 1.353, -63.273
Hunter-Lab 16.559, 34.836, -71.252
Binary 00110100, 00001100, 10000111

Color Schemes with #340c87

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

Alternatives to #340c87

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

Similar Colors

#340c87 Preview

Text with hexadecimal color #340c87

This text has a font color of #340c87.

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

This paragraph has a background color of #340c87.

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

This element has a border color of #340c87.

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

Shades and Tints of #340c87

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

Shade Color Variation
Tint Color Variation

Tones of #340c87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340c87 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
  • #262626 Achromatopsia 0.005% of the population
  • #292139 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e42 Tritanopia 0.001% of the population
Trichromacy
  • #122775 Protanomaly 1% of men, 0.01% of women
  • #12296c Deuteranomaly 6% of men, 0.4% of women
  • #122c5b Tritanomaly 0.01% of the population