#681D8B#681D8B

#681D8B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.173 H 312.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#681D8B
RGBrgb(104, 29, 139)
HSLhsl(281, 65%, 33%)
HSVhsv(281, 79%, 55%)
CMYKcmyk(25.2%, 79.1%, 0%, 45.5%)
CIE-LABlab(28.61, 49.96, -45.48)
CIE-LCHlch(28.61, 67.56, 317.69°)
OKLaboklab(40.7% 0.1163 -0.1287)
OKLCHoklch(40.7% 0.174 312.1)
XYZxyz(10.8076, 5.6862, 24.9493)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D8B #408B1D
analogous
#311D8B #681D8B #8B1D77
triadic
#681D8B #8B681D #1D8B68
tetradic
#681D8B #8B311D #408B1D #1D778B
square
#681D8B #8B311D #408B1D #1D778B
split-complementary
#681D8B #778B1D #1D8B31
monochromatic
#1C0826 #421258 #681D8B #8E28BE #AB49D9

Accessibility & contrast

On white

9.83
#681D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D8B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D8B#FFFFFF#000000##FFFFFF
##681D8B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681d8b;
/* rgb */ color: rgb(104, 29, 139);
/* oklch */ color: oklch(40.7% 0.173 312.1);
Tailwind
colors: {
  custom: {
    50: '#9762ae',
    500: '#681d8b',
    950: '#000000',
  },
}
SCSS
$custom: #681d8b;
$custom-light: #9762ae;
$custom-dark: #000000;
JSON
{
  "hex": "#681d8b",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 280.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.407,
    "c": 0.1735,
    "h": 312.1
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#681D8B
secondary
#6DBB49
accent
#E83F75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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