#340d87 Color Information

In a RGB color space, hex #340d87 is composed of 20.4% red, 5.1% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 61.5% cyan, 90.4% magenta, 0% yellow and 47.1% black. It has a hue angle of 259.2 degrees, a saturation of 82.4% and a lightness of 29%. #340d87 color hex could be obtained by blending #681aff with #00000f. Closest websafe color is: #330099.

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

#340d87 color description : Dark violet.

#340d87 Color Conversion

The hexadecimal color #340d87 has RGB values of R:52, G:13, B:135 and CMYK values of C:0.61, M:0.9, Y:0, K:0.47. Its decimal value is 3411335.

Hex triplet 340d87 #340d87
RGB Decimal 52, 13, 135 rgb(52,13,135)
RGB Percent 20.4, 5.1, 52.9 rgb(20.4%,5.1%,52.9%)
CMYK 61, 90, 0, 47
HSL 259.2°, 82.4, 29 hsl(259.2,82.4%,29%)
HSV (or HSB) 259.2°, 90.4, 52.9
Web Safe 330099 #330099
CIE-LAB 19.086, 47.106, -58.863
XYZ 5.932, 2.767, 23.142
xyY 0.186, 0.087, 2.767
CIE-LCH 19.086, 75.391, 308.669
CIE-LUV 19.086, 1.295, -63.328
Hunter-Lab 16.634, 34.55, -70.841
Binary 00110100, 00001101, 10000111

Color Schemes with #340d87

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

Alternatives to #340d87

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

Similar Colors

#340d87 Preview

Text with hexadecimal color #340d87

This text has a font color of #340d87.

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

This paragraph has a background color of #340d87.

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

This element has a border color of #340d87.

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

Shades and Tints of #340d87

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

Shade Color Variation
Tint Color Variation

Tones of #340d87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340d87 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
  • #272727 Achromatopsia 0.005% of the population
  • #2a223a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e43 Tritanopia 0.001% of the population
Trichromacy
  • #122875 Protanomaly 1% of men, 0.01% of women
  • #122a6c Deuteranomaly 6% of men, 0.4% of women
  • #122c5b Tritanomaly 0.01% of the population