#340cab Color Information

In a RGB color space, hex #340cab is composed of 20.4% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 69.6% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 255.1 degrees, a saturation of 86.9% and a lightness of 35.9%. #340cab color hex could be obtained by blending #6818ff with #000057. Closest websafe color is: #330099.

    • R 20
    • G 5
    • B 67
    RGB color chart
    • C 70
    • M 93
    • Y 0
    • K 33
    CMYK color chart

#340cab color description : Dark violet.

#340cab Color Conversion

The hexadecimal color #340cab has RGB values of R:52, G:12, B:171 and CMYK values of C:0.7, M:0.93, Y:0, K:0.33. Its decimal value is 3411115.

Hex triplet 340cab #340cab
RGB Decimal 52, 12, 171 rgb(52,12,171)
RGB Percent 20.4, 4.7, 67.1 rgb(20.4%,4.7%,67.1%)
CMYK 70, 93, 0, 33
HSL 255.1°, 86.9, 35.9 hsl(255.1,86.9%,35.9%)
HSV (or HSB) 255.1°, 93, 67.1
Web Safe 330099 #330099
CIE-LAB 23.448, 56.988, -73.798
XYZ 8.897, 3.933, 38.816
xyY 0.172, 0.076, 3.933
CIE-LCH 23.448, 93.24, 307.676
CIE-LUV 23.448, -1.458, -84.23
Hunter-Lab 19.831, 45.375, -102.166
Binary 00110100, 00001100, 10101011

Color Schemes with #340cab

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

Alternatives to #340cab

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

Similar Colors

#340cab Preview

Text with hexadecimal color #340cab

This text has a font color of #340cab.

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

This paragraph has a background color of #340cab.

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

This element has a border color of #340cab.

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

Shades and Tints of #340cab

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

Shade Color Variation
Tint Color Variation

Tones of #340cab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340cab 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
  • #2c2444 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407c Protanopia 1% of men
  • #00446b Deuteranopia 1% of men
  • #00484c Tritanopia 0.001% of the population
Trichromacy
  • #122d8d Protanomaly 1% of men, 0.01% of women
  • #122f82 Deuteranomaly 6% of men, 0.4% of women
  • #12326e Tritanomaly 0.01% of the population