#681D8A#681D8A

#681D8A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.173 H 312.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#681D8A
RGBrgb(104, 29, 138)
HSLhsl(281, 65%, 33%)
HSVhsv(281, 79%, 54%)
CMYKcmyk(24.6%, 79%, 0%, 45.9%)
CIE-LABlab(28.53, 49.75, -44.98)
CIE-LCHlch(28.53, 67.07, 317.88°)
OKLaboklab(40.62% 0.1165 -0.1273)
OKLCHoklch(40.62% 0.173 312.5)
XYZxyz(10.7349, 5.6571, 24.5663)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D8A #3F8A1D
analogous
#311D8A #681D8A #8A1D76
triadic
#681D8A #8A681D #1D8A68
tetradic
#681D8A #8A311D #3F8A1D #1D768A
square
#681D8A #8A311D #3F8A1D #1D768A
split-complementary
#681D8A #768A1D #1D8A31
monochromatic
#1C0825 #421257 #681D8A #8E28BD #AC49D9

Accessibility & contrast

On white

9.85
#681D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D8A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D8A#FFFFFF#000000##FFFFFF
##681D8A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#643753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681d8a;
/* rgb */ color: rgb(104, 29, 138);
/* oklch */ color: oklch(40.6% 0.173 312.5);
Tailwind
colors: {
  custom: {
    50: '#9762ad',
    500: '#681d8a',
    950: '#000000',
  },
}
SCSS
$custom: #681d8a;
$custom-light: #9762ad;
$custom-dark: #000000;
JSON
{
  "hex": "#681d8a",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 281.284,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.17255,
    "h": 312.5
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#681D8A
secondary
#6CBB48
accent
#E84074
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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