#681777#681777

#681777 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.161 H 320.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#681777
RGBrgb(104, 23, 119)
HSLhsl(291, 68%, 28%)
HSVhsv(291, 81%, 47%)
CMYKcmyk(12.6%, 80.7%, 0%, 53.3%)
CIE-LABlab(26.41, 47.95, -36.44)
CIE-LCHlch(26.41, 60.22, 322.77°)
OKLaboklab(38.69% 0.1249 -0.1022)
OKLCHoklch(38.69% 0.161 320.7)
XYZxyz(9.3447, 4.8883, 17.9005)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681777 #267717
analogous
#381777 #681777 #771756
triadic
#681777 #776817 #177768
tetradic
#681777 #773817 #267717 #175677
square
#681777 #773817 #267717 #175677
split-complementary
#681777 #567717 #177738
monochromatic
#16051A #3B0D44 #681777 #9521AA #BD31D7

Accessibility & contrast

On white

10.62
#681777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#681777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681777
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681777#FFFFFF#000000##FFFFFF
##6817771.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#224175
Tritanopia (blue-blind)
#692B47
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681777;
/* rgb */ color: rgb(104, 23, 119);
/* oklch */ color: oklch(38.7% 0.161 320.7);
Tailwind
colors: {
  custom: {
    50: '#975f9f',
    500: '#681777',
    950: '#000000',
  },
}
SCSS
$custom: #681777;
$custom-light: #975f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#681777",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 290.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.16139,
    "h": 320.7
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#681777
secondary
#4FAC3E
accent
#EA3D58
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681777

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

Preview Lab → · Contrast checker → · Palette generator →

#681777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva