#681C8D#681C8D

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

Color values

HEX#681C8D
RGBrgb(104, 28, 141)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 80%, 55%)
CMYKcmyk(26.2%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.63, 50.76, -46.67)
CIE-LCHlch(28.63, 68.96, 317.40°)
OKLaboklab(40.77% 0.1168 -0.1323)
OKLCHoklch(40.77% 0.176 311.4)
XYZxyz(10.9310, 5.6969, 25.7179)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C8D #418D1C
analogous
#2F1C8D #681C8D #8D1C79
triadic
#681C8D #8D681C #1C8D68
tetradic
#681C8D #8D2F1C #418D1C #1C798D
square
#681C8D #8D2F1C #418D1C #1C798D
split-complementary
#681C8D #798D1C #1C8D2F
monochromatic
#1D0827 #42125A #681C8D #8E26C0 #AB49DB

Accessibility & contrast

On white

9.82
#681C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#681C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C8D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C8D#FFFFFF#000000##FFFFFF
##681C8D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c8d;
/* rgb */ color: rgb(104, 28, 141);
/* oklch */ color: oklch(40.8% 0.176 311.4);
Tailwind
colors: {
  custom: {
    50: '#9862af',
    500: '#681c8d',
    950: '#000000',
  },
}
SCSS
$custom: #681c8d;
$custom-light: #9862af;
$custom-dark: #000000;
JSON
{
  "hex": "#681c8d",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 280.354,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.17642,
    "h": 311.4
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#681C8D
secondary
#6EBD48
accent
#EA3E76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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