#681B8B#681B8B

#681B8B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 312.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#681B8B
RGBrgb(104, 27, 139)
HSLhsl(281, 67%, 33%)
HSVhsv(281, 81%, 55%)
CMYKcmyk(25.2%, 80.6%, 0%, 45.5%)
CIE-LABlab(28.36, 50.68, -45.88)
CIE-LCHlch(28.36, 68.37, 317.85°)
OKLaboklab(40.53% 0.1181 -0.1299)
OKLCHoklch(40.53% 0.176 312.3)
XYZxyz(10.7602, 5.5913, 24.9335)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B8B #3E8B1B
analogous
#301B8B #681B8B #8B1B76
triadic
#681B8B #8B681B #1B8B68
tetradic
#681B8B #8B301B #3E8B1B #1B768B
square
#681B8B #8B301B #3E8B1B #1B768B
split-complementary
#681B8B #768B1B #1B8B30
monochromatic
#1B0725 #421158 #681B8B #8E25BE #AC45DB

Accessibility & contrast

On white

9.91
#681B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#681B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B8B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B8B#FFFFFF#000000##FFFFFF
##681B8B1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#054489
Tritanopia (blue-blind)
#643653
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681b8b;
/* rgb */ color: rgb(104, 27, 139);
/* oklch */ color: oklch(40.5% 0.176 312.3);
Tailwind
colors: {
  custom: {
    50: '#9761ae',
    500: '#681b8b',
    950: '#000000',
  },
}
SCSS
$custom: #681b8b;
$custom-light: #9761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#681b8b",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 281.25,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40525,
    "c": 0.17554,
    "h": 312.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#681B8B
secondary
#6BBC45
accent
#EA3D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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