#681D8D#681D8D

#681D8D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.175 H 311.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#681D8D
RGBrgb(104, 29, 141)
HSLhsl(280, 66%, 33%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(26.2%, 79.4%, 0%, 44.7%)
CIE-LABlab(28.76, 50.40, -46.47)
CIE-LCHlch(28.76, 68.55, 317.32°)
OKLaboklab(40.86% 0.1159 -0.1317)
OKLCHoklch(40.86% 0.175 311.4)
XYZxyz(10.9551, 5.7452, 25.7260)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D8D #428D1D
analogous
#301D8D #681D8D #8D1D7A
triadic
#681D8D #8D681D #1D8D68
tetradic
#681D8D #8D301D #428D1D #1D7A8D
square
#681D8D #8D301D #428D1D #1D7A8D
split-complementary
#681D8D #7A8D1D #1D8D30
monochromatic
#1D0827 #43135A #681D8D #8D27C0 #AB4BDA

Accessibility & contrast

On white

9.77
#681D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D8D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D8D#FFFFFF#000000##FFFFFF
##681D8D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#633855
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681d8d;
/* rgb */ color: rgb(104, 29, 141);
/* oklch */ color: oklch(40.9% 0.175 311.4);
Tailwind
colors: {
  custom: {
    50: '#9762af',
    500: '#681d8d',
    950: '#000000',
  },
}
SCSS
$custom: #681d8d;
$custom-light: #9762af;
$custom-dark: #000000;
JSON
{
  "hex": "#681d8d",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 280.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.1754,
    "h": 311.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#681D8D
secondary
#6FBC4A
accent
#E93F77
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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