Skip to content

#660eb4

a dark, electric violet · cool · closest name: Rebecca Purple

RGB
102, 14, 180
HSL
272°, 86%, 38%
CMYK
43, 92, 0, 29
Luminance
0.0643

At a glance

Every number on this page in one read: what #660eb4 is made of, how bright it looks, and which way it leans.

Hex
#660eb4
Hue
272°
violet
Saturation
86%
electric
Lightness
38%
dark
Brightness
71%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0643
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.18:1
Closest name
Rebecca Purple
ΔE2000 6.6
Where it sits
Hue272° of 360°
Saturation86%
Lightness38%
Temperature
Warm ← → Cool66% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#660eb4
RGBrgb(102, 14, 180)
HSLhsl(272, 86%, 38%)
CMYKcmyk(43%, 92%, 0%, 29%)
LABlab(30.5 62.9 -67.4)
LCHlch(30.5 92.2 313.0)
OKLCHoklch(0.430 0.222 299.5)
Decimal6688436
Display P3color(display-p3 0.400 0.055 0.706)

Copy-ready code

/* CSS */
color: #660eb4;
background-color: #660eb4;
/* Tailwind (arbitrary) */
class="text-[#660eb4] bg-[#660eb4]"
/* SCSS */
$brand: #660eb4;
/* SwiftUI */
Color(red: 0.400, green: 0.055, blue: 0.706)
/* Android */
Color.parseColor("#660eb4")
/* Flutter */
Color(0xFF660EB4)
/* Python / OpenCV (BGR) */
(180, 14, 102)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #660eb4 · 9.18:1
Use #ffffffAAA at every size.
Aa
White text · 9.18:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.29:1
AA fail · AA large fail · AAA fail
Reading the other direction: #660eb4 as text scores 9.18:1 on white and 2.29:1 on black.

Accessibility — WCAG contrast

Aa
#660eb4 on white: 9.18:1
AA ✓ pass · AA-large · AAA
Aa
#660eb4 on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0048B8
deuteranopia · #0046B1
tritanopia · #524669

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #660eb4 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F2FD
#F0E5FA
#DFC5F7
#CA97F7
#AF63F3
#952FEF
#8112E3
#660eb4
#560C97
#400D6D
#280844
Base = 700Lightest = 50 · #F8F2FDDarkest = 950 · #280844
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F0E5FA;
  --brand-200: #DFC5F7;
  --brand-300: #CA97F7;
  --brand-400: #AF63F3;
  --brand-500: #952FEF;
  --brand-600: #8112E3;
  --brand-700: #660eb4;
  --brand-800: #560C97;
  --brand-900: #400D6D;
  --brand-950: #280844;
  --brand: #660eb4;
  --brand-ink: #ffffff;
}

Colors that work with #660eb4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#8EC10B
Second voice, not a rival
Dark variant#430976
Hover, pressed, headers
Light variant#F3E7FD
Selected rows, tints
Dark surface#1D1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #660eb4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5CB40E
Analogous left#130EB4
Analogous right#B40EAF
Split-complement 1#AFB40E
Split-complement 2#0EB413
Triadic 1#B4660E
Triadic 2#0EB466
Tetradic#B4130E

RGB percentages

Red40.0%
Green5.5%
Blue70.6%

CMYK percentages

Cyan43.3%
Magenta92.2%
Yellow0.0%
Key (black)29.4%

Color previews

#660eb4 text on a black background

contrast 2.29:1

Card sample

#660eb4 text on a white background

contrast 9.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #660eb4;
Background color
Panel with #660eb4 background
background-color: #660eb4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #660eb4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(102, 14, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(102, 14, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #660eb4;
background: linear-gradient(135deg, #660eb4, #B40E93);

Monochromatic scale

Palettes built from #660eb4

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#660eb4 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#660eb4, answered

What color is #660eb4?

#660eb4 is a dark electric violet, closest to Rebecca Purple (ΔE2000 6.6). It sits at 272° on the hue wheel with 86% saturation and 38% lightness, which reads as cool.

What is the RGB value of #660eb4?

rgb(102, 14, 180) — 102 red, 14 green and 180 blue out of 255, or 40% / 5.5% / 70.6% by channel.

Is #660eb4 a light or a dark color?

It is a dark color. Relative luminance is 0.0643 and perceived brightness is 33%, so white text on it reaches 9.18:1.

Should I use black or white text on #660eb4?

White. It scores 9.18:1 against #660eb4, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #660eb4?

#5CB40E sits directly opposite on the wheel. Softer options are the split-complements #AFB40E and #0EB413, which give the same contrast with far less vibration.

What colors go well with #660eb4?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #754B9B for secondary text, #8EC10B as an accent and #430976 for hover and pressed states. For a palette, the analogous pair #130EB4 and #B40EAF stays calm, while #5CB40E is the loudest partner.

What is #660eb4 in CMYK for printing?

cmyk(43%, 92%, 0%, 29%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #660eb4 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A30EB4; nudged cooler, #280CB6.

Work with #660eb4 in the Color Lab