#340f8d Color Information

In a RGB color space, hex #340f8d is composed of 20.4% red, 5.9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 63.1% cyan, 89.4% magenta, 0% yellow and 44.7% black. It has a hue angle of 257.6 degrees, a saturation of 80.8% and a lightness of 30.6%. #340f8d color hex could be obtained by blending #681eff with #00001b. Closest websafe color is: #330099.

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

#340f8d color description : Dark violet.

#340f8d Color Conversion

The hexadecimal color #340f8d has RGB values of R:52, G:15, B:141 and CMYK values of C:0.63, M:0.89, Y:0, K:0.45. Its decimal value is 3411853.

Hex triplet 340f8d #340f8d
RGB Decimal 52, 15, 141 rgb(52,15,141)
RGB Percent 20.4, 5.9, 55.3 rgb(20.4%,5.9%,55.3%)
CMYK 63, 89, 0, 45
HSL 257.6°, 80.8, 30.6 hsl(257.6,80.8%,30.6%)
HSV (or HSB) 257.6°, 89.4, 55.3
Web Safe 330099 #330099
CIE-LAB 20.022, 48.082, -61.074
XYZ 6.394, 2.995, 25.439
xyY 0.184, 0.086, 2.995
CIE-LCH 20.022, 77.729, 308.213
CIE-LUV 20.022, 0.663, -66.938
Hunter-Lab 17.305, 35.669, -75.045
Binary 00110100, 00001111, 10001101

Color Schemes with #340f8d

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

Alternatives to #340f8d

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

Similar Colors

#340f8d Preview

Text with hexadecimal color #340f8d

This text has a font color of #340f8d.

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

This paragraph has a background color of #340f8d.

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

This element has a border color of #340f8d.

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

Shades and Tints of #340f8d

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

Shade Color Variation
Tint Color Variation

Tones of #340f8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f8d 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
  • #282828 Achromatopsia 0.005% of the population
  • #2a233c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004045 Tritanopia 0.001% of the population
Trichromacy
  • #122a7a Protanomaly 1% of men, 0.01% of women
  • #122c70 Deuteranomaly 6% of men, 0.4% of women
  • #122e5f Tritanomaly 0.01% of the population