#681E77#681E77

#681E77 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.153 H 320.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#681E77
RGBrgb(104, 30, 119)
HSLhsl(290, 60%, 29%)
HSVhsv(290, 75%, 47%)
CMYKcmyk(12.6%, 74.8%, 0%, 53.3%)
CIE-LABlab(27.31, 45.39, -35.00)
CIE-LCHlch(27.31, 57.32, 322.36°)
OKLaboklab(39.33% 0.1181 -0.098)
OKLCHoklch(39.33% 0.153 320.3)
XYZxyz(9.5026, 5.2040, 17.9531)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E77 #2D771E
analogous
#3C1E77 #681E77 #771E5A
triadic
#681E77 #77681E #1E7768
tetradic
#681E77 #773C1E #2D771E #1E5A77
square
#681E77 #773C1E #2D771E #1E5A77
split-complementary
#681E77 #5A771E #1E773C
monochromatic
#150618 #3D1246 #681E77 #932AA8 #B740CF

Accessibility & contrast

On white

10.29
#681E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E77
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E77#FFFFFF#000000##FFFFFF
##681E771.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#274375
Tritanopia (blue-blind)
#682F48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681e77;
/* rgb */ color: rgb(104, 30, 119);
/* oklch */ color: oklch(39.3% 0.153 320.3);
Tailwind
colors: {
  custom: {
    50: '#96629f',
    500: '#681e77',
    950: '#000000',
  },
}
SCSS
$custom: #681e77;
$custom-light: #96629f;
$custom-dark: #000000;
JSON
{
  "hex": "#681e77",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 289.888,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.15349,
    "h": 320.3
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#681E77
secondary
#57AB46
accent
#E34560
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681E77

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

Preview Lab → · Contrast checker → · Palette generator →

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