#340f8c Color Information

In a RGB color space, hex #340f8c is composed of 20.4% red, 5.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 62.9% cyan, 89.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 257.8 degrees, a saturation of 80.6% and a lightness of 30.4%. #340f8c color hex could be obtained by blending #681eff with #000019. 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

#340f8c color description : Dark violet.

#340f8c Color Conversion

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

Hex triplet 340f8c #340f8c
RGB Decimal 52, 15, 140 rgb(52,15,140)
RGB Percent 20.4, 5.9, 54.9 rgb(20.4%,5.9%,54.9%)
CMYK 63, 89, 0, 45
HSL 257.8°, 80.6, 30.4 hsl(257.8,80.6%,30.4%)
HSV (or HSB) 257.8°, 89.3, 54.9
Web Safe 330099 #330099
CIE-LAB 19.903, 47.807, -60.646
XYZ 6.32, 2.965, 25.049
xyY 0.184, 0.086, 2.965
CIE-LCH 19.903, 77.224, 308.249
CIE-LUV 19.903, 0.746, -66.355
Hunter-Lab 17.219, 35.38, -74.197
Binary 00110100, 00001111, 10001100

Color Schemes with #340f8c

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

Alternatives to #340f8c

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

Similar Colors

#340f8c Preview

Text with hexadecimal color #340f8c

This text has a font color of #340f8c.

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

This paragraph has a background color of #340f8c.

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

This element has a border color of #340f8c.

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

Shades and Tints of #340f8c

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

Shade Color Variation
Tint Color Variation

Tones of #340f8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340f8c 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
  • #004044 Tritanopia 0.001% of the population
Trichromacy
  • #122979 Protanomaly 1% of men, 0.01% of women
  • #122b70 Deuteranomaly 6% of men, 0.4% of women
  • #122e5e Tritanomaly 0.01% of the population