#340874 Color Information

In a RGB color space, hex #340874 is composed of 20.4% red, 3.1% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 93.1% magenta, 0% yellow and 54.5% black. It has a hue angle of 264.4 degrees, a saturation of 87.1% and a lightness of 24.3%. #340874 color hex could be obtained by blending #6810e8 with #000000. Closest websafe color is: #330066.

    • R 20
    • G 3
    • B 45
    RGB color chart
    • C 55
    • M 93
    • Y 0
    • K 55
    CMYK color chart

#340874 color description : Dark violet.

#340874 Color Conversion

The hexadecimal color #340874 has RGB values of R:52, G:8, B:116 and CMYK values of C:0.55, M:0.93, Y:0, K:0.55. Its decimal value is 3410036.

Hex triplet 340874 #340874
RGB Decimal 52, 8, 116 rgb(52,8,116)
RGB Percent 20.4, 3.1, 45.5 rgb(20.4%,3.1%,45.5%)
CMYK 55, 93, 0, 55
HSL 264.4°, 87.1, 24.3 hsl(264.4,87.1%,24.3%)
HSV (or HSB) 264.4°, 93.1, 45.5
Web Safe 330066 #330066
CIE-LAB 16.328, 43.586, -51.307
XYZ 4.655, 2.165, 16.695
xyY 0.198, 0.092, 2.165
CIE-LCH 16.328, 67.321, 310.349
CIE-LUV 16.328, 3.325, -51.994
Hunter-Lab 14.713, 30.727, -56.978
Binary 00110100, 00001000, 01110100

Color Schemes with #340874

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

Alternatives to #340874

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

Similar Colors

#340874 Preview

Text with hexadecimal color #340874

This text has a font color of #340874.

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

This paragraph has a background color of #340874.

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

This element has a border color of #340874.

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

Shades and Tints of #340874

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

Shade Color Variation
Tint Color Variation

Tones of #340874

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340874 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
  • #212121 Achromatopsia 0.005% of the population
  • #251c32 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003261 Protanopia 1% of men
  • #003554 Deuteranopia 1% of men
  • #23363a Tritanopia 0.001% of the population
Trichromacy
  • #122268 Protanomaly 1% of men, 0.01% of women
  • #122460 Deuteranomaly 6% of men, 0.4% of women
  • #29254f Tritanomaly 0.01% of the population