#662ba6 Color Information

In a RGB color space, hex #662ba6 is composed of 40% red, 16.9% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 38.6% cyan, 74.1% magenta, 0% yellow and 34.9% black. It has a hue angle of 268.8 degrees, a saturation of 58.9% and a lightness of 41%. #662ba6 color hex could be obtained by blending #cc56ff with #00004d. Closest websafe color is: #663399.

    • R 40
    • G 17
    • B 65
    RGB color chart
    • C 39
    • M 74
    • Y 0
    • K 35
    CMYK color chart

#662ba6 color description : Dark violet.

#662ba6 Color Conversion

The hexadecimal color #662ba6 has RGB values of R:102, G:43, B:166 and CMYK values of C:0.39, M:0.74, Y:0, K:0.35. Its decimal value is 6695846.

Hex triplet 662ba6 #662ba6
RGB Decimal 102, 43, 166 rgb(102,43,166)
RGB Percent 40, 16.9, 65.1 rgb(40%,16.9%,65.1%)
CMYK 39, 74, 0, 35
HSL 268.8°, 58.9, 41 hsl(268.8,58.9%,41%)
HSV (or HSB) 268.8°, 74.1, 65.1
Web Safe 663399 #663399
CIE-LAB 32.493, 50.072, -55.689
XYZ 13.225, 7.306, 36.788
xyY 0.231, 0.127, 7.306
CIE-LCH 32.493, 74.89, 311.96
CIE-LUV 32.493, 12.263, -78.716
Hunter-Lab 27.029, 40.037, -61.775
Binary 01100110, 00101011, 10100110

Color Schemes with #662ba6

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

Alternatives to #662ba6

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

Similar Colors

#662ba6 Preview

Text with hexadecimal color #662ba6

This text has a font color of #662ba6.

<span style="color:#662ba6;">Text here</span>
#662ba6 background color

This paragraph has a background color of #662ba6.

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

This element has a border color of #662ba6.

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

Shades and Tints of #662ba6

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, #06030a is the darkest color, while #fcfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #662ba6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #662ba6 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #50455d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0053a2 Protanopia 1% of men
  • #00578f Deuteranopia 1% of men
  • #59545a Tritanopia 0.001% of the population
Trichromacy
  • #2544a3 Protanomaly 1% of men, 0.01% of women
  • #254797 Deuteranomaly 6% of men, 0.4% of women
  • #5d4575 Tritanomaly 0.01% of the population