Skip to content

#680aac

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

RGB
104, 10, 172
HSL
275°, 89%, 36%
CMYK
40, 94, 0, 33
Luminance
0.0614

At a glance

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

Hex
#680aac
Hue
275°
violet
Saturation
89%
electric
Lightness
36%
dark
Brightness
67%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0614
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.43:1
Closest name
Rebecca Purple
ΔE2000 6.2
Where it sits
Hue275° of 360°
Saturation89%
Lightness36%
Temperature
Warm ← → Cool64% 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#680aac
RGBrgb(104, 10, 172)
HSLhsl(275, 89%, 36%)
CMYKcmyk(40%, 94%, 0%, 33%)
LABlab(29.8 62.1 -63.8)
LCHlch(29.8 89.0 314.2)
OKLCHoklch(0.424 0.217 302.7)
Decimal6818476
Display P3color(display-p3 0.408 0.039 0.675)

Copy-ready code

/* CSS */
color: #680aac;
background-color: #680aac;
/* Tailwind (arbitrary) */
class="text-[#680aac] bg-[#680aac]"
/* SCSS */
$brand: #680aac;
/* SwiftUI */
Color(red: 0.408, green: 0.039, blue: 0.675)
/* Android */
Color.parseColor("#680aac")
/* Flutter */
Color(0xFF680AAC)
/* Python / OpenCV (BGR) */
(172, 10, 104)

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 #680aac · 9.43:1
Use #ffffffAAA at every size.
Aa
White text · 9.43:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.23:1
AA fail · AA large fail · AAA fail
Reading the other direction: #680aac as text scores 9.43:1 on white and 2.23:1 on black.

Accessibility — WCAG contrast

Aa
#680aac on white: 9.43:1
AA ✓ pass · AA-large · AAA
Aa
#680aac on black: 2.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0045B0
deuteranopia · #0045A9
tritanopia · #594164

Color scale — 50 to 950

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

#F8F2FD
#F1E5FB
#E2C4F8
#CF95F9
#B760F6
#9F2BF3
#8C0DE7
#750BC1
#680aac
#450B6F
#2B0746
Base = 800Lightest = 50 · #F8F2FDDarkest = 950 · #2B0746
:root {
  --brand-50: #F8F2FD;
  --brand-100: #F1E5FB;
  --brand-200: #E2C4F8;
  --brand-300: #CF95F9;
  --brand-400: #B760F6;
  --brand-500: #9F2BF3;
  --brand-600: #8C0DE7;
  --brand-700: #750BC1;
  --brand-800: #680aac;
  --brand-900: #450B6F;
  --brand-950: #2B0746;
  --brand: #680aac;
  --brand-ink: #ffffff;
}

Colors that work with #680aac

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#DAC0ED
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#86C507
Second voice, not a rival
Dark variant#490778
Hover, pressed, headers
Light variant#F4E7FE
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 #680aac

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#4EAC0A
Analogous left#170AAC
Analogous right#AC0A9F
Split-complement 1#9FAC0A
Split-complement 2#0AAC17
Triadic 1#AC680A
Triadic 2#0AAC68
Tetradic#AC170A

RGB percentages

Red40.8%
Green3.9%
Blue67.5%

CMYK percentages

Cyan39.5%
Magenta94.2%
Yellow0.0%
Key (black)32.5%

Color previews

#680aac text on a black background

contrast 2.23:1

Card sample

#680aac text on a white background

contrast 9.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #680aac;
Background color
Panel with #680aac background
background-color: #680aac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #680aac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(104, 10, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 10, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #680aac;
background: linear-gradient(135deg, #680aac, #AC0A84);

Monochromatic scale

Palettes built from #680aac

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.

#680aac 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.

#680aac, answered

What color is #680aac?

#680aac is a dark electric violet, closest to Rebecca Purple (ΔE2000 6.2). It sits at 275° on the hue wheel with 89% saturation and 36% lightness, which reads as cool.

What is the RGB value of #680aac?

rgb(104, 10, 172) — 104 red, 10 green and 172 blue out of 255, or 40.8% / 3.9% / 67.5% by channel.

Is #680aac a light or a dark color?

It is a dark color. Relative luminance is 0.0614 and perceived brightness is 32%, so white text on it reaches 9.43:1.

Should I use black or white text on #680aac?

White. It scores 9.43:1 against #680aac, versus 2.23:1 for black — AAA at any size.

What is the complementary color of #680aac?

#4EAC0A sits directly opposite on the wheel. Softer options are the split-complements #9FAC0A and #0AAC17, which give the same contrast with far less vibration.

What colors go well with #680aac?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #794B9B for secondary text, #86C507 as an accent and #490778 for hover and pressed states. For a palette, the analogous pair #170AAC and #AC0A9F stays calm, while #4EAC0A is the loudest partner.

What is #680aac in CMYK for printing?

cmyk(40%, 94%, 0%, 33%). 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 #680aac warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A30AAC; nudged cooler, #2C08AE.

Work with #680aac in the Color Lab