#340f8f Color Information

In a RGB color space, hex #340f8f is composed of 20.4% red, 5.9% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 63.6% cyan, 89.5% magenta, 0% yellow and 43.9% black. It has a hue angle of 257.3 degrees, a saturation of 81% and a lightness of 31%. #340f8f color hex could be obtained by blending #681eff with #00001f. Closest websafe color is: #330099.

    • R 20
    • G 6
    • B 56
    RGB color chart
    • C 64
    • M 90
    • Y 0
    • K 44
    CMYK color chart

#340f8f color description : Dark violet.

#340f8f Color Conversion

The hexadecimal color #340f8f has RGB values of R:52, G:15, B:143 and CMYK values of C:0.64, M:0.9, Y:0, K:0.44. Its decimal value is 3411855.

Hex triplet 340f8f #340f8f
RGB Decimal 52, 15, 143 rgb(52,15,143)
RGB Percent 20.4, 5.9, 56.1 rgb(20.4%,5.9%,56.1%)
CMYK 64, 90, 0, 44
HSL 257.3°, 81, 31 hsl(257.3,81%,31%)
HSV (or HSB) 257.3°, 89.5, 56.1
Web Safe 330099 #330099
CIE-LAB 20.261, 48.63, -61.925
XYZ 6.544, 3.055, 26.23
xyY 0.183, 0.085, 3.055
CIE-LCH 20.261, 78.737, 308.143
CIE-LUV 20.261, 0.499, -68.104
Hunter-Lab 17.478, 36.249, -76.746
Binary 00110100, 00001111, 10001111

Color Schemes with #340f8f

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

Alternatives to #340f8f

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

Similar Colors

#340f8f Preview

Text with hexadecimal color #340f8f

This text has a font color of #340f8f.

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

This paragraph has a background color of #340f8f.

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

This element has a border color of #340f8f.

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

Shades and Tints of #340f8f

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

Shade Color Variation
Tint Color Variation

Tones of #340f8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f8f 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
  • #292929 Achromatopsia 0.005% of the population
  • #2b243d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d61 Deuteranopia 1% of men
  • #004145 Tritanopia 0.001% of the population
Trichromacy
  • #122a7b Protanomaly 1% of men, 0.01% of women
  • #122c72 Deuteranomaly 6% of men, 0.4% of women
  • #122f60 Tritanomaly 0.01% of the population