#681D77#681D77

#681D77 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.2% C 0.155 H 320.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#681D77
RGBrgb(104, 29, 119)
HSLhsl(290, 61%, 29%)
HSVhsv(290, 76%, 47%)
CMYKcmyk(12.6%, 75.6%, 0%, 53.3%)
CIE-LABlab(27.17, 45.78, -35.22)
CIE-LCHlch(27.17, 57.77, 322.43°)
OKLaboklab(39.23% 0.1192 -0.0987)
OKLCHoklch(39.23% 0.155 320.4)
XYZxyz(9.4777, 5.1542, 17.9448)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D77 #2C771D
analogous
#3B1D77 #681D77 #771D59
triadic
#681D77 #77681D #1D7768
tetradic
#681D77 #773B1D #2C771D #1D5977
square
#681D77 #773B1D #2C771D #1D5977
split-complementary
#681D77 #59771D #1D773B
monochromatic
#160619 #3D1146 #681D77 #9329A8 #B83ED0

Accessibility & contrast

On white

10.34
#681D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D77
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D77#FFFFFF#000000##FFFFFF
##681D771.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#692E48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681d77;
/* rgb */ color: rgb(104, 29, 119);
/* oklch */ color: oklch(39.2% 0.155 320.4);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#681d77',
    950: '#000000',
  },
}
SCSS
$custom: #681d77;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#681d77",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 290,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.15472,
    "h": 320.4
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#681D77
secondary
#56AB45
accent
#E4445F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681D77

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

Preview Lab → · Contrast checker → · Palette generator →

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