#681B7A#681B7A

#681B7A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.160 H 319.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#681B7A
RGBrgb(104, 27, 122)
HSLhsl(289, 64%, 29%)
HSVhsv(289, 78%, 48%)
CMYKcmyk(14.8%, 77.9%, 0%, 52.2%)
CIE-LABlab(27.11, 47.14, -37.23)
CIE-LCHlch(27.11, 60.07, 321.70°)
OKLaboklab(39.25% 0.1209 -0.1045)
OKLCHoklch(39.25% 0.16 319.1)
XYZxyz(9.6132, 5.1325, 18.8929)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B7A #2D7A1B
analogous
#391B7A #681B7A #7A1B5D
triadic
#681B7A #7A681B #1B7A68
tetradic
#681B7A #7A391B #2D7A1B #1B5D7A
square
#681B7A #7A391B #2D7A1B #1B5D7A
split-complementary
#681B7A #5D7A1B #1B7A39
monochromatic
#150619 #3D1048 #681B7A #9326AC #B73CD4

Accessibility & contrast

On white

10.36
#681B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#681B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B7A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B7A#FFFFFF#000000##FFFFFF
##681B7A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#682F49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681b7a;
/* rgb */ color: rgb(104, 27, 122);
/* oklch */ color: oklch(39.3% 0.160 319.1);
Tailwind
colors: {
  custom: {
    50: '#9761a1',
    500: '#681b7a',
    950: '#000000',
  },
}
SCSS
$custom: #681b7a;
$custom-light: #9761a1;
$custom-dark: #000000;
JSON
{
  "hex": "#681b7a",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 288.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.15979,
    "h": 319.1
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#681B7A
secondary
#57AE43
accent
#E74160
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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