#681E8D#681E8D

#681E8D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.174 H 311.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#681E8D
RGBrgb(104, 30, 141)
HSLhsl(280, 65%, 34%)
HSVhsv(280, 79%, 55%)
CMYKcmyk(26.2%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.89, 50.03, -46.26)
CIE-LCHlch(28.89, 68.14, 317.24°)
OKLaboklab(40.95% 0.115 -0.1311)
OKLCHoklch(40.95% 0.174 311.3)
XYZxyz(10.9800, 5.7950, 25.7343)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E8D #438D1E
analogous
#301E8D #681E8D #8D1E7A
triadic
#681E8D #8D681E #1E8D68
tetradic
#681E8D #8D301E #438D1E #1E7A8D
square
#681E8D #8D301E #438D1E #1E7A8D
split-complementary
#681E8D #7A8D1E #1E8D30
monochromatic
#1E0928 #43135B #681E8D #8D29BF #AA4CD9

Accessibility & contrast

On white

9.73
#681E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#681E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E8D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E8D#FFFFFF#000000##FFFFFF
##681E8D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#633955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681e8d;
/* rgb */ color: rgb(104, 30, 141);
/* oklch */ color: oklch(40.9% 0.174 311.3);
Tailwind
colors: {
  custom: {
    50: '#9763af',
    500: '#681e8d',
    950: '#000000',
  },
}
SCSS
$custom: #681e8d;
$custom-light: #9763af;
$custom-dark: #000000;
JSON
{
  "hex": "#681e8d",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.17436,
    "h": 311.3
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#681E8D
secondary
#71BC4B
accent
#E84078
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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