#681D89#681D89

#681D89 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.172 H 312.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#681D89
RGBrgb(104, 29, 137)
HSLhsl(282, 65%, 33%)
HSVhsv(282, 79%, 54%)
CMYKcmyk(24.1%, 78.8%, 0%, 46.3%)
CIE-LABlab(28.45, 49.53, -44.48)
CIE-LCHlch(28.45, 66.57, 318.08°)
OKLaboklab(40.55% 0.1167 -0.1258)
OKLCHoklch(40.55% 0.172 312.8)
XYZxyz(10.6628, 5.6283, 24.1867)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D89 #3E891D
analogous
#321D89 #681D89 #891D74
triadic
#681D89 #89681D #1D8968
tetradic
#681D89 #89321D #3E891D #1D7489
square
#681D89 #89321D #3E891D #1D7489
split-complementary
#681D89 #74891D #1D8932
monochromatic
#1B0824 #421256 #681D89 #8E28BC #AC48D8

Accessibility & contrast

On white

9.88
#681D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#681D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D89
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D89#FFFFFF#000000##FFFFFF
##681D891.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#0E4587
Tritanopia (blue-blind)
#643652
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681d89;
/* rgb */ color: rgb(104, 29, 137);
/* oklch */ color: oklch(40.5% 0.172 312.8);
Tailwind
colors: {
  custom: {
    50: '#9762ac',
    500: '#681d89',
    950: '#000000',
  },
}
SCSS
$custom: #681d89;
$custom-light: #9762ac;
$custom-dark: #000000;
JSON
{
  "hex": "#681d89",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 281.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.1716,
    "h": 312.8
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#681D89
secondary
#6BBA47
accent
#E84073
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681D89

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

Preview Lab → · Contrast checker → · Palette generator →

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