#340f78 Color Information

In a RGB color space, hex #340f78 is composed of 20.4% red, 5.9% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 56.7% cyan, 87.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 261.1 degrees, a saturation of 77.8% and a lightness of 26.5%. #340f78 color hex could be obtained by blending #681ef0 with #000000. Closest websafe color is: #330066.

    • R 20
    • G 6
    • B 47
    RGB color chart
    • C 57
    • M 88
    • Y 0
    • K 53
    CMYK color chart

#340f78 color description : Dark violet.

#340f78 Color Conversion

The hexadecimal color #340f78 has RGB values of R:52, G:15, B:120 and CMYK values of C:0.57, M:0.88, Y:0, K:0.53. Its decimal value is 3411832.

Hex triplet 340f78 #340f78
RGB Decimal 52, 15, 120 rgb(52,15,120)
RGB Percent 20.4, 5.9, 47.1 rgb(20.4%,5.9%,47.1%)
CMYK 57, 88, 0, 53
HSL 261.1°, 77.8, 26.5 hsl(261.1,77.8%,26.5%)
HSV (or HSB) 261.1°, 87.5, 47.1
Web Safe 330066 #330066
CIE-LAB 17.588, 42.277, -51.803
XYZ 4.977, 2.428, 17.975
xyY 0.196, 0.096, 2.428
CIE-LCH 17.588, 66.865, 309.218
CIE-LUV 17.588, 2.516, -54.671
Hunter-Lab 15.581, 29.746, -57.492
Binary 00110100, 00001111, 01111000

Color Schemes with #340f78

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

Alternatives to #340f78

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

Similar Colors

#340f78 Preview

Text with hexadecimal color #340f78

This text has a font color of #340f78.

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

This paragraph has a background color of #340f78.

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

This element has a border color of #340f78.

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

Shades and Tints of #340f78

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, #07020f is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340f78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f78 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
  • #292136 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003466 Protanopia 1% of men
  • #003758 Deuteranopia 1% of men
  • #20393e Tritanopia 0.001% of the population
Trichromacy
  • #12266c Protanomaly 1% of men, 0.01% of women
  • #122864 Deuteranomaly 6% of men, 0.4% of women
  • #272a53 Tritanomaly 0.01% of the population