#681C88#681C88

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

Color values

HEX#681C88
RGBrgb(104, 28, 136)
HSLhsl(282, 66%, 32%)
HSVhsv(282, 79%, 53%)
CMYKcmyk(23.5%, 79.4%, 0%, 46.7%)
CIE-LABlab(28.25, 49.69, -44.19)
CIE-LCHlch(28.25, 66.49, 318.35°)
OKLaboklab(40.38% 0.1178 -0.1249)
OKLCHoklch(40.38% 0.172 313.3)
XYZxyz(10.5673, 5.5515, 23.8027)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C88 #3C881C
analogous
#321C88 #681C88 #881C72
triadic
#681C88 #88681C #1C8868
tetradic
#681C88 #88321C #3C881C #1C7288
square
#681C88 #88321C #3C881C #1C7288
split-complementary
#681C88 #72881C #1C8832
monochromatic
#1A0722 #411255 #681C88 #8F26BB #AD46D9

Accessibility & contrast

On white

9.95
#681C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C88
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C88#FFFFFF#000000##FFFFFF
##681C881.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#653652
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681c88;
/* rgb */ color: rgb(104, 28, 136);
/* oklch */ color: oklch(40.4% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#9762ab',
    500: '#681c88',
    950: '#000000',
  },
}
SCSS
$custom: #681c88;
$custom-light: #9762ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681c88",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 282.222,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.17171,
    "h": 313.3
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#681C88
secondary
#68BA45
accent
#E93F71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681C88

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

Preview Lab → · Contrast checker → · Palette generator →

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