Skip to content

#680fd2

a dark, electric violet · cool · closest name: Dark Violet

RGB
104, 15, 210
HSL
267°, 87%, 44%
CMYK
51, 93, 0, 18
Luminance
0.0794

At a glance

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

Hex
#680fd2
Hue
267°
violet
Saturation
87%
electric
Lightness
44%
dark
Brightness
82%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0794
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.12:1
Closest name
Dark Violet
ΔE2000 6.9
Where it sits
Hue267° of 360°
Saturation87%
Lightness44%
Temperature
Warm ← → Cool68% 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#680fd2
RGBrgb(104, 15, 210)
HSLhsl(267, 87%, 44%)
CMYKcmyk(51%, 93%, 0%, 18%)
LABlab(33.9 69.6 -79.4)
LCHlch(33.9 105.6 311.2)
OKLCHoklch(0.463 0.249 293.4)
Decimal6819794
Display P3color(display-p3 0.408 0.059 0.824)

Copy-ready code

/* CSS */
color: #680fd2;
background-color: #680fd2;
/* Tailwind (arbitrary) */
class="text-[#680fd2] bg-[#680fd2]"
/* SCSS */
$brand: #680fd2;
/* SwiftUI */
Color(red: 0.408, green: 0.059, blue: 0.824)
/* Android */
Color.parseColor("#680fd2")
/* Flutter */
Color(0xFF680FD2)
/* Python / OpenCV (BGR) */
(210, 15, 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 #680fd2 · 8.12:1
Use #ffffffAAA at every size.
Aa
White text · 8.12:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.59:1
AA fail · AA large fail · AAA fail
Reading the other direction: #680fd2 as text scores 8.12:1 on white and 2.59:1 on black.

Accessibility — WCAG contrast

Aa
#680fd2 on white: 8.12:1
AA ✓ pass · AA-large · AAA
Aa
#680fd2 on black: 2.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052D7
deuteranopia · #004CCF
tritanopia · #44547C

Color scale — 50 to 950

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

#F7F2FD
#EFE5FA
#DCC4F7
#C396F8
#A562F4
#862EF0
#680fd2
#5E0EBE
#4B0B98
#390C6E
#240845
Base = 600Lightest = 50 · #F7F2FDDarkest = 950 · #240845
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FA;
  --brand-200: #DCC4F7;
  --brand-300: #C396F8;
  --brand-400: #A562F4;
  --brand-500: #862EF0;
  --brand-600: #680fd2;
  --brand-700: #5E0EBE;
  --brand-800: #4B0B98;
  --brand-900: #390C6E;
  --brand-950: #240845;
  --brand: #680fd2;
  --brand-ink: #ffffff;
}

Colors that work with #680fd2

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#F7F4FA
Tinted page background
Border#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#9DC309
Second voice, not a rival
Dark variant#3B0877
Hover, pressed, headers
Light variant#F1E7FD
Selected rows, tints
Dark surface#1B1424
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 #680fd2

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#79D20F
Analogous left#0F17D2
Analogous right#CA0FD2
Split-complement 1#D2CA0F
Split-complement 2#17D20F
Triadic 1#D2680F
Triadic 2#0FD268
Tetradic#D20F17

RGB percentages

Red40.8%
Green5.9%
Blue82.4%

CMYK percentages

Cyan50.5%
Magenta92.9%
Yellow0.0%
Key (black)17.6%

Color previews

#680fd2 text on a black background

contrast 2.59:1

Card sample

#680fd2 text on a white background

contrast 8.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #680fd2

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.

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

#680fd2, answered

What color is #680fd2?

#680fd2 is a dark electric violet, closest to Dark Violet (ΔE2000 6.9). It sits at 267° on the hue wheel with 87% saturation and 44% lightness, which reads as cool.

What is the RGB value of #680fd2?

rgb(104, 15, 210) — 104 red, 15 green and 210 blue out of 255, or 40.8% / 5.9% / 82.4% by channel.

Is #680fd2 a light or a dark color?

It is a dark color. Relative luminance is 0.0794 and perceived brightness is 36%, so white text on it reaches 8.12:1.

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

White. It scores 8.12:1 against #680fd2, versus 2.59:1 for black — AAA at any size.

What is the complementary color of #680fd2?

#79D20F sits directly opposite on the wheel. Softer options are the split-complements #D2CA0F and #17D20F, which give the same contrast with far less vibration.

What colors go well with #680fd2?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #9DC309 as an accent and #3B0877 for hover and pressed states. For a palette, the analogous pair #0F17D2 and #CA0FD2 stays calm, while #79D20F is the loudest partner.

What is #680fd2 in CMYK for printing?

cmyk(51%, 93%, 0%, 18%). 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 #680fd2 warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B00FD2; nudged cooler, #1F0DD4.

Work with #680fd2 in the Color Lab