#681B8A#681B8A

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

Color values

HEX#681B8A
RGBrgb(104, 27, 138)
HSLhsl(282, 67%, 32%)
HSVhsv(282, 80%, 54%)
CMYKcmyk(24.6%, 80.4%, 0%, 45.9%)
CIE-LABlab(28.28, 50.47, -45.39)
CIE-LCHlch(28.28, 67.88, 318.04°)
OKLaboklab(40.45% 0.1183 -0.1285)
OKLCHoklch(40.45% 0.175 312.6)
XYZxyz(10.6875, 5.5622, 24.5505)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B8A #3D8A1B
analogous
#311B8A #681B8A #8A1B74
triadic
#681B8A #8A681B #1B8A68
tetradic
#681B8A #8A311B #3D8A1B #1B748A
square
#681B8A #8A311B #3D8A1B #1B748A
split-complementary
#681B8A #748A1B #1B8A31
monochromatic
#1B0724 #411157 #681B8A #8F25BD #AD45DB

Accessibility & contrast

On white

9.94
#681B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B8A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B8A#FFFFFF#000000##FFFFFF
##681B8A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b8a;
/* rgb */ color: rgb(104, 27, 138);
/* oklch */ color: oklch(40.4% 0.175 312.6);
Tailwind
colors: {
  custom: {
    50: '#9761ad',
    500: '#681b8a',
    950: '#000000',
  },
}
SCSS
$custom: #681b8a;
$custom-light: #9761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#681b8a",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 281.622,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.17461,
    "h": 312.6
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#681B8A
secondary
#69BC45
accent
#EA3E72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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