#681C8B#681C8B

#681C8B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 312.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#681C8B
RGBrgb(104, 28, 139)
HSLhsl(281, 66%, 33%)
HSVhsv(281, 80%, 55%)
CMYKcmyk(25.2%, 79.9%, 0%, 45.5%)
CIE-LABlab(28.48, 50.33, -45.68)
CIE-LCHlch(28.48, 67.97, 317.77°)
OKLaboklab(40.61% 0.1172 -0.1293)
OKLCHoklch(40.61% 0.175 312.2)
XYZxyz(10.7835, 5.6380, 24.9413)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C8B #3F8B1C
analogous
#301C8B #681C8B #8B1C76
triadic
#681C8B #8B681C #1C8B68
tetradic
#681C8B #8B301C #3F8B1C #1C768B
square
#681C8B #8B301C #3F8B1C #1C768B
split-complementary
#681C8B #768B1C #1C8B30
monochromatic
#1C0725 #421258 #681C8B #8E26BE #AC47DA

Accessibility & contrast

On white

9.87
#681C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C8B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C8B#FFFFFF#000000##FFFFFF
##681C8B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#074589
Tritanopia (blue-blind)
#643753
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681c8b;
/* rgb */ color: rgb(104, 28, 139);
/* oklch */ color: oklch(40.6% 0.175 312.2);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#681c8b',
    950: '#000000',
  },
}
SCSS
$custom: #681c8b;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#681c8b",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 281.081,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.17453,
    "h": 312.2
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#681C8B
secondary
#6CBC47
accent
#E93E74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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