#681C7F#681C7F

#681C7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.163 H 316.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#681C7F
RGBrgb(104, 28, 127)
HSLhsl(286, 64%, 30%)
HSVhsv(286, 78%, 50%)
CMYKcmyk(18.1%, 78%, 0%, 50.2%)
CIE-LABlab(27.59, 47.79, -39.61)
CIE-LCHlch(27.59, 62.08, 320.35°)
OKLaboklab(39.7% 0.1193 -0.1115)
OKLCHoklch(39.7% 0.163 316.9)
XYZxyz(9.9544, 5.3063, 20.5744)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C7F #337F1C
analogous
#371C7F #681C7F #7F1C64
triadic
#681C7F #7F681C #1C7F68
tetradic
#681C7F #7F371C #337F1C #1C647F
square
#681C7F #7F371C #337F1C #1C647F
split-complementary
#681C7F #647F1C #1C7F37
monochromatic
#16061B #3F114D #681C7F #9127B1 #B240D5

Accessibility & contrast

On white

10.19
#681C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C7F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C7F#FFFFFF#000000##FFFFFF
##681C7F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c7f;
/* rgb */ color: rgb(104, 28, 127);
/* oklch */ color: oklch(39.7% 0.163 316.9);
Tailwind
colors: {
  custom: {
    50: '#9761a5',
    500: '#681c7f',
    950: '#000000',
  },
}
SCSS
$custom: #681c7f;
$custom-light: #9761a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681c7f",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 286.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.16329,
    "h": 316.9
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#681C7F
secondary
#5EB344
accent
#E74167
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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