#340b98 Color Information

In a RGB color space, hex #340b98 is composed of 20.4% red, 4.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 65.8% cyan, 92.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 257.4 degrees, a saturation of 86.5% and a lightness of 32%. #340b98 color hex could be obtained by blending #6816ff with #000031. Closest websafe color is: #330099.

    • R 20
    • G 4
    • B 60
    RGB color chart
    • C 66
    • M 93
    • Y 0
    • K 40
    CMYK color chart

#340b98 color description : Dark violet.

#340b98 Color Conversion

The hexadecimal color #340b98 has RGB values of R:52, G:11, B:152 and CMYK values of C:0.66, M:0.93, Y:0, K:0.4. Its decimal value is 3410840.

Hex triplet 340b98 #340b98
RGB Decimal 52, 11, 152 rgb(52,11,152)
RGB Percent 20.4, 4.3, 59.6 rgb(20.4%,4.3%,59.6%)
CMYK 66, 93, 0, 40
HSL 257.4°, 86.5, 32 hsl(257.4,86.5%,32%)
HSV (or HSB) 257.4°, 92.8, 59.6
Web Safe 330099 #330099
CIE-LAB 20.966, 52.248, -66.334
XYZ 7.202, 3.236, 29.949
xyY 0.178, 0.08, 3.236
CIE-LCH 20.966, 84.44, 308.225
CIE-LUV 20.966, 0.01, -73.124
Hunter-Lab 17.989, 39.984, -86.116
Binary 00110100, 00001011, 10011000

Color Schemes with #340b98

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

Alternatives to #340b98

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

Similar Colors

#340b98 Preview

Text with hexadecimal color #340b98

This text has a font color of #340b98.

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

This paragraph has a background color of #340b98.

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

This element has a border color of #340b98.

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

Shades and Tints of #340b98

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 #f6f2fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #340b98

A tone is produced by adding gray to any pure hue. In this case, #515053 is the less saturated color, while #31059e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #340b98 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
  • #272727 Achromatopsia 0.005% of the population
  • #2a213e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004347 Tritanopia 0.001% of the population
Trichromacy
  • #122980 Protanomaly 1% of men, 0.01% of women
  • #122b76 Deuteranomaly 6% of men, 0.4% of women
  • #122e64 Tritanomaly 0.01% of the population