#681B77#681B77

#681B77 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.157 H 320.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#681B77
RGBrgb(104, 27, 119)
HSLhsl(290, 63%, 29%)
HSVhsv(290, 77%, 47%)
CMYKcmyk(12.6%, 77.3%, 0%, 53.3%)
CIE-LABlab(26.90, 46.54, -35.65)
CIE-LCHlch(26.90, 58.63, 322.55°)
OKLaboklab(39.04% 0.1212 -0.0999)
OKLCHoklch(39.04% 0.157 320.5)
XYZxyz(9.4302, 5.0593, 17.9290)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B77 #2A771B
analogous
#3A1B77 #681B77 #771B58
triadic
#681B77 #77681B #1B7768
tetradic
#681B77 #773A1B #2A771B #1B5877
square
#681B77 #773A1B #2A771B #1B5877
split-complementary
#681B77 #58771B #1B773A
monochromatic
#160619 #3C1045 #681B77 #9426A9 #B93AD2

Accessibility & contrast

On white

10.44
#681B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#681B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B77
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B77#FFFFFF#000000##FFFFFF
##681B771.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#254275
Tritanopia (blue-blind)
#692D48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681b77;
/* rgb */ color: rgb(104, 27, 119);
/* oklch */ color: oklch(39.0% 0.157 320.5);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#681b77',
    950: '#000000',
  },
}
SCSS
$custom: #681b77;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#681b77",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 290.217,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.15706,
    "h": 320.5
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#681B77
secondary
#54AB42
accent
#E6425D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681B77

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

Preview Lab → · Contrast checker → · Palette generator →

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