#681D79#681D79

#681D79 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.157 H 319.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#681D79
RGBrgb(104, 29, 121)
HSLhsl(289, 61%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(14%, 76%, 0%, 52.5%)
CIE-LABlab(27.30, 46.19, -36.28)
CIE-LCHlch(27.30, 58.73, 321.85°)
OKLaboklab(39.37% 0.119 -0.1017)
OKLCHoklch(39.37% 0.157 319.5)
XYZxyz(9.5990, 5.2027, 18.5841)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D79 #2E791D
analogous
#3A1D79 #681D79 #791D5C
triadic
#681D79 #79681D #1D7968
tetradic
#681D79 #793A1D #2E791D #1D5C79
square
#681D79 #793A1D #2E791D #1D5C79
split-complementary
#681D79 #5C791D #1D793A
monochromatic
#150619 #3E1148 #681D79 #9229AA #B63FD1

Accessibility & contrast

On white

10.29
#681D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D79
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D79#FFFFFF#000000##FFFFFF
##681D791.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#244377
Tritanopia (blue-blind)
#682F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681d79;
/* rgb */ color: rgb(104, 29, 121);
/* oklch */ color: oklch(39.4% 0.157 319.5);
Tailwind
colors: {
  custom: {
    50: '#9661a0',
    500: '#681d79',
    950: '#000000',
  },
}
SCSS
$custom: #681d79;
$custom-light: #9661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681d79",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 288.913,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.15656,
    "h": 319.5
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#681D79
secondary
#58AD45
accent
#E44361
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #681D79

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

Preview Lab → · Contrast checker → · Palette generator →

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