#6622FF color

#6622FF is rgb(102, 34, 255) in RGB and hsl(258, 100%, 57%) in HSL. The closest CSS named color is blueviolet (#8a2be2, ΔE 5.8). Use white text on it (contrast 6.49:1).

#6622FFviolet
HEX#6622FF
Short HEX#62F
RGBrgb(102, 34, 255)
RGB percentrgb(40%, 13.3%, 100%)
HSLhsl(258, 100%, 57%)
HSV / HSBhsv(258, 87%, 100%)
CMYKcmyk(60%, 87%, 0%, 0%)

Edit in the color converter → · Check contrast → · Shades →

About #6622FF

#6622FF is a medium, vivid violet with a hue angle of 258°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and green the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#6622FF
Short HEX#62F
RGBrgb(102, 34, 255)
RGB percentrgb(40%, 13.3%, 100%)
HSLhsl(258, 100%, 57%)
HSV / HSBhsv(258, 87%, 100%)
CMYKcmyk(60%, 87%, 0%, 0%)
CIELAB (D65)lab(39.9 75.5 -95.1)
Decimal6693631
Binary01100110 00100010 11111111

HEX 66 22 FF → 102, 34, 255 (each pair is a base-16 number: 6×16 + 6 = 102)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #6622FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6622FFRatioAA normalAA largeAAA normalAAA large
White text6.49:1PassPassFailPass
Black text3.24:1FailPassFailFail
White text on #6622FF
Black text on #6622FF
#6622FF text on white
#6622FF text on black

Relative luminance is 0.1119 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0064ff

Deuteranopia
#0057fb

Tritanopia
#006d98

Achromatopsia
#5e5e5e

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 12.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
blueviolet#8a2be25.8
blue#0000ff7.1
darkviolet#9400d38.3
darkorchid#9932cc10.1

Nearby colors

CSS

.element {
  color: #6622ff;
  background-color: rgb(102, 34, 255);
  border: 1px solid hsl(258, 100%, 57%);
  box-shadow: 0 2px 8px rgb(102 34 255 / 50%);
}
:root { --brand: #6622ff; }

Frequently asked questions

What color is #6622FF?
A medium vivid violet in the purple family. Closest CSS name: blueviolet.
What is #6622FF in RGB?
rgb(102, 34, 255): red 102, green 34, blue 255.
What is the complementary color of #6622FF?
#BBFF22, found by rotating the hue 180°.