#681C71#681C71

#681C71 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.150 H 323.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#681C71
RGBrgb(104, 28, 113)
HSLhsl(294, 60%, 28%)
HSVhsv(294, 75%, 44%)
CMYKcmyk(8%, 75.2%, 0%, 55.7%)
CIE-LABlab(26.64, 44.99, -32.24)
CIE-LCHlch(26.64, 55.35, 324.37°)
OKLaboklab(38.72% 0.1206 -0.0899)
OKLCHoklch(38.72% 0.15 323.3)
XYZxyz(9.1045, 4.9664, 16.0986)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C71 #25711C
analogous
#3D1C71 #681C71 #711C4F
triadic
#681C71 #71681C #1C7168
tetradic
#681C71 #713D1C #25711C #1C4F71
square
#681C71 #713D1C #25711C #1C4F71
split-complementary
#681C71 #4F711C #1C713D
monochromatic
#170619 #3B1040 #681C71 #9528A2 #BE39CE

Accessibility & contrast

On white

10.54
#681C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#681C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C71
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C71#FFFFFF#000000##FFFFFF
##681C711.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#6A2B45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681c71;
/* rgb */ color: rgb(104, 28, 113);
/* oklch */ color: oklch(38.7% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#96619a',
    500: '#681c71',
    950: '#000000',
  },
}
SCSS
$custom: #681c71;
$custom-light: #96619a;
$custom-dark: #000000;
JSON
{
  "hex": "#681c71",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 293.647,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38722,
    "c": 0.15044,
    "h": 323.3
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#681C71
secondary
#4EA643
accent
#E34455
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681C71

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

Preview Lab → · Contrast checker → · Palette generator →

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