#681C7E#681C7E

#681C7E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.162 H 317.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#681C7E
RGBrgb(104, 28, 126)
HSLhsl(287, 64%, 30%)
HSVhsv(287, 78%, 49%)
CMYKcmyk(17.5%, 77.8%, 0%, 50.6%)
CIE-LABlab(27.52, 47.59, -39.10)
CIE-LCHlch(27.52, 61.59, 320.59°)
OKLaboklab(39.63% 0.1194 -0.11)
OKLCHoklch(39.63% 0.162 317.3)
XYZxyz(9.8895, 5.2804, 20.2329)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C7E #327E1C
analogous
#371C7E #681C7E #7E1C63
triadic
#681C7E #7E681C #1C7E68
tetradic
#681C7E #7E371C #327E1C #1C637E
square
#681C7E #7E371C #327E1C #1C637E
split-complementary
#681C7E #637E1C #1C7E37
monochromatic
#15061A #3F114C #681C7E #9127B0 #B340D5

Accessibility & contrast

On white

10.21
#681C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C7E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C7E#FFFFFF#000000##FFFFFF
##681C7E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#67314C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681c7e;
/* rgb */ color: rgb(104, 28, 126);
/* oklch */ color: oklch(39.6% 0.162 317.3);
Tailwind
colors: {
  custom: {
    50: '#9761a4',
    500: '#681c7e',
    950: '#000000',
  },
}
SCSS
$custom: #681c7e;
$custom-light: #9761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681c7e",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 286.531,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.16236,
    "h": 317.3
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#681C7E
secondary
#5DB244
accent
#E74166
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#681C7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva