#681A71#681A71

#681A71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.153 H 323.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#681A71
RGBrgb(104, 26, 113)
HSLhsl(294, 63%, 27%)
HSVhsv(294, 77%, 44%)
CMYKcmyk(8%, 77%, 0%, 55.7%)
CIE-LABlab(26.37, 45.74, -32.66)
CIE-LCHlch(26.37, 56.21, 324.47°)
OKLaboklab(38.53% 0.1227 -0.0912)
OKLCHoklch(38.53% 0.153 323.4)
XYZxyz(9.0587, 4.8746, 16.0833)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A71 #23711A
analogous
#3D1A71 #681A71 #711A4F
triadic
#681A71 #71681A #1A7168
tetradic
#681A71 #713D1A #23711A #1A4F71
square
#681A71 #713D1A #23711A #1A4F71
split-complementary
#681A71 #4F711A #1A713D
monochromatic
#170619 #3A0F3F #681A71 #9625A3 #C035D0

Accessibility & contrast

On white

10.63
#681A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#681A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A71
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A71#FFFFFF#000000##FFFFFF
##681A711.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#29416F
Tritanopia (blue-blind)
#6A2A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681a71;
/* rgb */ color: rgb(104, 26, 113);
/* oklch */ color: oklch(38.5% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#96609a',
    500: '#681a71',
    950: '#000000',
  },
}
SCSS
$custom: #681a71;
$custom-light: #96609a;
$custom-dark: #000000;
JSON
{
  "hex": "#681a71",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 293.793,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.15282,
    "h": 323.4
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#681A71
secondary
#4BA641
accent
#E64253
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681A71

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

Preview Lab → · Contrast checker → · Palette generator →

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