#681D7A#681D7A

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

Color values

HEX#681D7A
RGBrgb(104, 29, 122)
HSLhsl(288, 62%, 30%)
HSVhsv(288, 76%, 48%)
CMYKcmyk(14.8%, 76.2%, 0%, 52.2%)
CIE-LABlab(27.37, 46.39, -36.80)
CIE-LCHlch(27.37, 59.21, 321.57°)
OKLaboklab(39.44% 0.1189 -0.1033)
OKLCHoklch(39.44% 0.157 319)
XYZxyz(9.6607, 5.2274, 18.9087)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D7A #2F7A1D
analogous
#3A1D7A #681D7A #7A1D5E
triadic
#681D7A #7A681D #1D7A68
tetradic
#681D7A #7A3A1D #2F7A1D #1D5E7A
square
#681D7A #7A3A1D #2F7A1D #1D5E7A
split-complementary
#681D7A #5E7A1D #1D7A3A
monochromatic
#150619 #3E1149 #681D7A #9229AB #B540D2

Accessibility & contrast

On white

10.27
#681D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D7A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D7A#FFFFFF#000000##FFFFFF
##681D7A1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#68304A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681d7a;
/* rgb */ color: rgb(104, 29, 122);
/* oklch */ color: oklch(39.4% 0.157 319.0);
Tailwind
colors: {
  custom: {
    50: '#9661a1',
    500: '#681d7a',
    950: '#000000',
  },
}
SCSS
$custom: #681d7a;
$custom-light: #9661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#681d7a",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 288.387,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.15749,
    "h": 319
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#681D7A
secondary
#59AE45
accent
#E54362
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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