#340c8b Color Information

In a RGB color space, hex #340c8b is composed of 20.4% red, 4.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 62.6% cyan, 91.4% magenta, 0% yellow and 45.5% black. It has a hue angle of 258.9 degrees, a saturation of 84.1% and a lightness of 29.6%. #340c8b color hex could be obtained by blending #6818ff with #000017. Closest websafe color is: #330099.

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

#340c8b color description : Dark violet.

#340c8b Color Conversion

The hexadecimal color #340c8b has RGB values of R:52, G:12, B:139 and CMYK values of C:0.63, M:0.91, Y:0, K:0.45. Its decimal value is 3411083.

Hex triplet 340c8b #340c8b
RGB Decimal 52, 12, 139 rgb(52,12,139)
RGB Percent 20.4, 4.7, 54.5 rgb(20.4%,4.7%,54.5%)
CMYK 63, 91, 0, 45
HSL 258.9°, 84.1, 29.6 hsl(258.9,84.1%,29.6%)
HSV (or HSB) 258.9°, 91.4, 54.5
Web Safe 330099 #330099
CIE-LAB 19.461, 48.499, -60.752
XYZ 6.207, 2.857, 24.649
xyY 0.184, 0.085, 2.857
CIE-LCH 19.461, 77.736, 308.601
CIE-LUV 19.461, 1.012, -65.605
Hunter-Lab 16.902, 35.971, -74.632
Binary 00110100, 00001100, 10001011

Color Schemes with #340c8b

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

Alternatives to #340c8b

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

Similar Colors

#340c8b Preview

Text with hexadecimal color #340c8b

This text has a font color of #340c8b.

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

This paragraph has a background color of #340c8b.

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

This element has a border color of #340c8b.

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

Shades and Tints of #340c8b

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

Shade Color Variation
Tint Color Variation

Tones of #340c8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340c8b 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
  • #29213a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386d Protanopia 1% of men
  • #003b5e Deuteranopia 1% of men
  • #003f43 Tritanopia 0.001% of the population
Trichromacy
  • #122878 Protanomaly 1% of men, 0.01% of women
  • #122a6e Deuteranomaly 6% of men, 0.4% of women
  • #122c5d Tritanomaly 0.01% of the population