#340172 Color Information

In a RGB color space, hex #340172 is composed of 20.4% red, 0.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 54.4% cyan, 99.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 267.1 degrees, a saturation of 98.3% and a lightness of 22.5%. #340172 color hex could be obtained by blending #6802e4 with #000000. Closest websafe color is: #330066.

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

#340172 color description : Very dark violet.

#340172 Color Conversion

The hexadecimal color #340172 has RGB values of R:52, G:1, B:114 and CMYK values of C:0.54, M:0.99, Y:0, K:0.55. Its decimal value is 3408242.

Hex triplet 340172 #340172
RGB Decimal 52, 1, 114 rgb(52,1,114)
RGB Percent 20.4, 0.4, 44.7 rgb(20.4%,0.4%,44.7%)
CMYK 54, 99, 0, 55
HSL 267.1°, 98.3, 22.5 hsl(267.1,98.3%,22.5%)
HSV (or HSB) 267.1°, 99.1, 44.7
Web Safe 330066 #330066
CIE-LAB 15.311, 45.433, -51.694
XYZ 4.464, 1.967, 16.063
xyY 0.198, 0.087, 1.967
CIE-LCH 15.311, 68.822, 311.312
CIE-LUV 15.311, 3.882, -50.336
Hunter-Lab 14.024, 32.276, -58.096
Binary 00110100, 00000001, 01110010

Color Schemes with #340172

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

Alternatives to #340172

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

Similar Colors

#340172 Preview

Text with hexadecimal color #340172

This text has a font color of #340172.

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

This paragraph has a background color of #340172.

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

This element has a border color of #340172.

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

Shades and Tints of #340172

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

Shade Color Variation
Tint Color Variation

Tones of #340172

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340172 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #22172e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00305d Protanopia 1% of men
  • #003251 Deuteranopia 1% of men
  • #243437 Tritanopia 0.001% of the population
Trichromacy
  • #121f64 Protanomaly 1% of men, 0.01% of women
  • #12205d Deuteranomaly 6% of men, 0.4% of women
  • #2a214c Tritanomaly 0.01% of the population