What is hex #660EFF color?

 
The hex code #660EFF is closest to the named color Electric Indigo (#6F00FF).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 40% red, 5% green and 100% blue, resulting in rgb(102, 14, 255) and hsl(262, 100%, 53%).
For print media and manufacturing layout, the CMYK equivalent is (60%, 95%, 0%, 0%).
In the HSV/HSB scale, #660EFF features a hue of 262°, 95% saturation, and 100% brightness.

Hex #660EFF Color Codes & Conversions

Closest Named Color
Electric Indigo (#6F00FF)
Hex Code #660EFF
Hex8 (RGBA Hex) #660EFFFF
RGB (CSS) rgb(102, 14, 255)
RGBA (CSS) rgba(102, 14, 255, 1)
HSL (CSS) hsl(262, 100%, 53%)
HSLA (CSS) hsla(262, 100%, 53%, 1)
HSV / HSB (262°, 95%, 100%)
CMYK Values (60%, 95%, 0%, 0%)
OKLCH (Modern CSS) oklch(50.8% 0.291 285.1)
CIE-LAB (D65) 38.48, 79.81, -97.41
CIE XYZ 23.68, 10.36, 95.34
Decimal / Binary 6688511
01100110 00001110 11111111

Closest Standards & Equivalents

Closest Web Safe
#6600FF
Inverse Color
#99F100
Complementary Color
#A7FF0E
Closest Pantone®
Pantone 266 C
Closest RAL
RAL 4005 [Blue lilac]

#660EFF Grayscale Equivalents

Average
#7C7C7C
Lightness (Desaturation)
#878787
Weighted (BT601)
#444444
Luma (BT709)
#323232

WCAG 2.1 Color Contrast & Accessibility

Check how #660EFF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #660EFF

Sample preview of readable typography on top of #660EFF.

Contrast Ratio: 6.84:1
AA Pass AAA Fail

Black Text on #660EFF

Sample preview of readable typography on top of #660EFF.

Contrast Ratio: 3.07:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #660EFF

Preview #660EFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #660EFF;
Typography Color Preview
color: #660EFF;
Border & Shadow Preview
border: 2px solid #660EFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #660EFF;
  --color-primary-rgb: 102, 14, 255;
  --color-complementary: #A7FF0E;
}
.btn-accent {
  background-color: #660EFF;
  color: #ffffff;
}

Hex #660EFF Color Palettes

Complementary Palette

The complementary color of #660EFF is #A7FF0E. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #660EFF pairs with #0E2EFF and #DE0EFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #660EFF pairs with #2EFF0E and #FFDE0E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #660EFF uses #0EFF66 and #FF660E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #660EFF combines #FF660E, #A7FF0E and #0EA7FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #660EFF pairs with #FF0E2E, #A7FF0E and #0EFFDE spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #660EFF

Tints

Tints are created by mixing #660EFF with white, producing lighter variations.

Tones

Tones are created by mixing #660EFF with gray, softening saturation.

Shades

Shades result from mixing #660EFF with black, creating deeper variations.

Hex #660EFF in Programming & CSS Frameworks

Copy the exact syntax for #660EFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #660EFF
Tailwind CSS bg-[#660EFF] text-[#660EFF]
Java (AWT) new Color(102,14,255);
Python Color("#660EFF")
.NET (C#) Color.FromArgb(255, 102,14,255);
Swift / iOS UIColor(red: 0.4, green: 0.05, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(102, 14, 255)