#681D7D#681D7D

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

Color values

HEX#681D7D
RGBrgb(104, 29, 125)
HSLhsl(287, 62%, 30%)
HSVhsv(287, 77%, 49%)
CMYKcmyk(16.8%, 76.8%, 0%, 51%)
CIE-LABlab(27.58, 47.00, -38.37)
CIE-LCHlch(27.58, 60.67, 320.78°)
OKLaboklab(39.65% 0.1186 -0.1079)
OKLCHoklch(39.65% 0.16 317.7)
XYZxyz(9.8494, 5.3029, 19.9028)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D7D #327D1D
analogous
#381D7D #681D7D #7D1D62
triadic
#681D7D #7D681D #1D7D68
tetradic
#681D7D #7D381D #327D1D #1D627D
square
#681D7D #7D381D #327D1D #1D627D
split-complementary
#681D7D #627D1D #1D7D38
monochromatic
#15061A #3F114B #681D7D #9129AF #B341D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##681D7D#FFFFFF#000000##FFFFFF
##681D7D1.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)
#003C80
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#67314C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681d7d;
/* rgb */ color: rgb(104, 29, 125);
/* oklch */ color: oklch(39.7% 0.160 317.7);
Tailwind
colors: {
  custom: {
    50: '#9762a3',
    500: '#681d7d',
    950: '#000000',
  },
}
SCSS
$custom: #681d7d;
$custom-light: #9762a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681d7d",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 286.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.16029,
    "h": 317.7
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#681D7D
secondary
#5DB145
accent
#E54266
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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