#340b97 Color Information

In a RGB color space, hex #340b97 is composed of 20.4% red, 4.3% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 65.6% cyan, 92.7% magenta, 0% yellow and 40.8% black. It has a hue angle of 257.6 degrees, a saturation of 86.4% and a lightness of 31.8%. #340b97 color hex could be obtained by blending #6816ff with #00002f. Closest websafe color is: #330099.

    • R 20
    • G 4
    • B 59
    RGB color chart
    • C 66
    • M 93
    • Y 0
    • K 41
    CMYK color chart

#340b97 color description : Dark violet.

#340b97 Color Conversion

The hexadecimal color #340b97 has RGB values of R:52, G:11, B:151 and CMYK values of C:0.66, M:0.93, Y:0, K:0.41. Its decimal value is 3410839.

Hex triplet 340b97 #340b97
RGB Decimal 52, 11, 151 rgb(52,11,151)
RGB Percent 20.4, 4.3, 59.2 rgb(20.4%,4.3%,59.2%)
CMYK 66, 93, 0, 41
HSL 257.6°, 86.4, 31.8 hsl(257.6,86.4%,31.8%)
HSV (or HSB) 257.6°, 92.7, 59.2
Web Safe 330099 #330099
CIE-LAB 20.841, 51.983, -65.924
XYZ 7.121, 3.204, 29.52
xyY 0.179, 0.08, 3.204
CIE-LCH 20.841, 83.954, 308.257
CIE-LUV 20.841, 0.089, -72.541
Hunter-Lab 17.898, 39.693, -85.258
Binary 00110100, 00001011, 10010111

Color Schemes with #340b97

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

Alternatives to #340b97

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

Similar Colors

#340b97 Preview

Text with hexadecimal color #340b97

This text has a font color of #340b97.

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

This paragraph has a background color of #340b97.

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

This element has a border color of #340b97.

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

Shades and Tints of #340b97

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

Shade Color Variation
Tint Color Variation

Tones of #340b97

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340b97 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
  • #2a213d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004246 Tritanopia 0.001% of the population
Trichromacy
  • #12297f Protanomaly 1% of men, 0.01% of women
  • #122b76 Deuteranomaly 6% of men, 0.4% of women
  • #122e63 Tritanomaly 0.01% of the population