#681D6B#681D6B

#681D6B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.4% C 0.144 H 326.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#681D6B
RGBrgb(104, 29, 107)
HSLhsl(298, 57%, 27%)
HSVhsv(298, 73%, 42%)
CMYKcmyk(2.8%, 72.9%, 0%, 58%)
CIE-LABlab(26.40, 43.45, -28.76)
CIE-LCHlch(26.40, 52.10, 326.50°)
OKLaboklab(38.43% 0.1196 -0.0798)
OKLCHoklch(38.43% 0.144 326.3)
XYZxyz(8.8020, 4.8839, 14.3861)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D6B #206B1D
analogous
#411D6B #681D6B #6B1D47
triadic
#681D6B #6B681D #1D6B68
tetradic
#681D6B #6B411D #206B1D #1D476B
square
#681D6B #6B411D #206B1D #1D476B
split-complementary
#681D6B #476B1D #1D6B41
monochromatic
#170718 #39103B #681D6B #972A9B #C439C9

Accessibility & contrast

On white

10.62
#681D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#681D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D6B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D6B#FFFFFF#000000##FFFFFF
##681D6B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386D
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#6B2942
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681d6b;
/* rgb */ color: rgb(104, 29, 107);
/* oklch */ color: oklch(38.4% 0.144 326.3);
Tailwind
colors: {
  custom: {
    50: '#966196',
    500: '#681d6b',
    950: '#000000',
  },
}
SCSS
$custom: #681d6b;
$custom-light: #966196;
$custom-dark: #000000;
JSON
{
  "hex": "#681d6b",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 297.692,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.14382,
    "h": 326.3
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#681D6B
secondary
#48A044
accent
#E1474D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #681D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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