#681771#681771

#681771 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.156 H 323.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#681771
RGBrgb(104, 23, 113)
HSLhsl(294, 66%, 27%)
HSVhsv(294, 80%, 44%)
CMYKcmyk(8%, 79.6%, 0%, 55.7%)
CIE-LABlab(26.01, 46.80, -33.25)
CIE-LCHlch(26.01, 57.41, 324.60°)
OKLaboklab(38.27% 0.1255 -0.0929)
OKLCHoklch(38.27% 0.156 323.5)
XYZxyz(8.9957, 4.7487, 16.0623)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681771 #207117
analogous
#3B1771 #681771 #71174D
triadic
#681771 #716817 #177168
tetradic
#681771 #713B17 #207117 #174D71
square
#681771 #713B17 #207117 #174D71
split-complementary
#681771 #4D7117 #17713B
monochromatic
#170519 #390D3E #681771 #9721A4 #C42ED4

Accessibility & contrast

On white

10.77
#681771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#681771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681771
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681771#FFFFFF#000000##FFFFFF
##6817711.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#6A2843
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681771;
/* rgb */ color: rgb(104, 23, 113);
/* oklch */ color: oklch(38.3% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#965f9a',
    500: '#681771',
    950: '#000000',
  },
}
SCSS
$custom: #681771;
$custom-light: #965f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681771",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 294,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.15615,
    "h": 323.5
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#681771
secondary
#48A73D
accent
#E93F50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681771

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

Preview Lab → · Contrast checker → · Palette generator →

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