#681A77#681A77

#681A77 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.158 H 320.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#681A77
RGBrgb(104, 26, 119)
HSLhsl(290, 64%, 28%)
HSVhsv(290, 78%, 47%)
CMYKcmyk(12.6%, 78.2%, 0%, 53.3%)
CIE-LABlab(26.78, 46.91, -35.86)
CIE-LCHlch(26.78, 59.04, 322.61°)
OKLaboklab(38.95% 0.1222 -0.1005)
OKLCHoklch(38.95% 0.158 320.6)
XYZxyz(9.4077, 5.0143, 17.9215)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A77 #29771A
analogous
#391A77 #681A77 #771A57
triadic
#681A77 #77681A #1A7768
tetradic
#681A77 #77391A #29771A #1A5777
square
#681A77 #77391A #29771A #1A5777
split-complementary
#681A77 #57771A #1A7739
monochromatic
#160519 #3C0F45 #681A77 #9425A9 #BA38D3

Accessibility & contrast

On white

10.49
#681A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A77
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A77#FFFFFF#000000##FFFFFF
##681A771.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#244275
Tritanopia (blue-blind)
#692D47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681a77;
/* rgb */ color: rgb(104, 26, 119);
/* oklch */ color: oklch(38.9% 0.158 320.6);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#681a77',
    950: '#000000',
  },
}
SCSS
$custom: #681a77;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#681a77",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 290.323,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.15819,
    "h": 320.6
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#681A77
secondary
#52AC41
accent
#E7415C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681A77

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

Preview Lab → · Contrast checker → · Palette generator →

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