#681B8D#681B8D

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

Color values

HEX#681B8D
RGBrgb(104, 27, 141)
HSLhsl(281, 68%, 33%)
HSVhsv(281, 81%, 55%)
CMYKcmyk(26.2%, 80.9%, 0%, 44.7%)
CIE-LABlab(28.51, 51.11, -46.87)
CIE-LCHlch(28.51, 69.35, 317.48°)
OKLaboklab(40.68% 0.1176 -0.1328)
OKLCHoklch(40.68% 0.177 311.5)
XYZxyz(10.9077, 5.6503, 25.7102)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B8D #408D1B
analogous
#2F1B8D #681B8D #8D1B79
triadic
#681B8D #8D681B #1B8D68
tetradic
#681B8D #8D2F1B #408D1B #1B798D
square
#681B8D #8D2F1B #408D1B #1B798D
split-complementary
#681B8D #798D1B #1B8D2F
monochromatic
#1C0726 #42115A #681B8D #8E25C0 #AB47DC

Accessibility & contrast

On white

9.86
#681B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B8D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B8D#FFFFFF#000000##FFFFFF
##681B8D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#633754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681b8d;
/* rgb */ color: rgb(104, 27, 141);
/* oklch */ color: oklch(40.7% 0.177 311.5);
Tailwind
colors: {
  custom: {
    50: '#9862af',
    500: '#681b8d',
    950: '#000000',
  },
}
SCSS
$custom: #681b8d;
$custom-light: #9862af;
$custom-dark: #000000;
JSON
{
  "hex": "#681b8d",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 280.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.17741,
    "h": 311.5
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#681B8D
secondary
#6DBD46
accent
#EB3D75
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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