#340ca8 Color Information

In a RGB color space, hex #340ca8 is composed of 20.4% red, 4.7% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 69% cyan, 92.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 255.4 degrees, a saturation of 86.7% and a lightness of 35.3%. #340ca8 color hex could be obtained by blending #6818ff with #000051. Closest websafe color is: #330099.

    • R 20
    • G 5
    • B 66
    RGB color chart
    • C 69
    • M 93
    • Y 0
    • K 34
    CMYK color chart

#340ca8 color description : Dark violet.

#340ca8 Color Conversion

The hexadecimal color #340ca8 has RGB values of R:52, G:12, B:168 and CMYK values of C:0.69, M:0.93, Y:0, K:0.34. Its decimal value is 3411112.

Hex triplet 340ca8 #340ca8
RGB Decimal 52, 12, 168 rgb(52,12,168)
RGB Percent 20.4, 4.7, 65.9 rgb(20.4%,4.7%,65.9%)
CMYK 69, 93, 0, 34
HSL 255.4°, 86.7, 35.3 hsl(255.4,86.7%,35.3%)
HSV (or HSB) 255.4°, 92.9, 65.9
Web Safe 330099 #330099
CIE-LAB 23.066, 56.203, -72.619
XYZ 8.614, 3.82, 37.327
xyY 0.173, 0.077, 3.82
CIE-LCH 23.066, 91.828, 307.738
CIE-LUV 23.066, -1.243, -82.488
Hunter-Lab 19.544, 44.472, -99.555
Binary 00110100, 00001100, 10101000

Color Schemes with #340ca8

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

Alternatives to #340ca8

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

Similar Colors

#340ca8 Preview

Text with hexadecimal color #340ca8

This text has a font color of #340ca8.

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

This paragraph has a background color of #340ca8.

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

This element has a border color of #340ca8.

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

Shades and Tints of #340ca8

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

Shade Color Variation
Tint Color Variation

Tones of #340ca8

A tone is produced by adding gray to any pure hue. In this case, #59585c is the less saturated color, while #3105af is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340ca8 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2c2443 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00436a Deuteranopia 1% of men
  • #00474b Tritanopia 0.001% of the population
Trichromacy
  • #122c8b Protanomaly 1% of men, 0.01% of women
  • #122f80 Deuteranomaly 6% of men, 0.4% of women
  • #12326d Tritanomaly 0.01% of the population