#681B71#681B71

#681B71 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.152 H 323.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#681B71
RGBrgb(104, 27, 113)
HSLhsl(294, 61%, 27%)
HSVhsv(294, 76%, 44%)
CMYKcmyk(8%, 76.1%, 0%, 55.7%)
CIE-LABlab(26.50, 45.37, -32.46)
CIE-LCHlch(26.50, 55.78, 324.42°)
OKLaboklab(38.63% 0.1216 -0.0906)
OKLCHoklch(38.63% 0.152 323.3)
XYZxyz(9.0812, 4.9197, 16.0909)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B71 #24711B
analogous
#3D1B71 #681B71 #711B4F
triadic
#681B71 #71681B #1B7168
tetradic
#681B71 #713D1B #24711B #1B4F71
square
#681B71 #713D1B #24711B #1B4F71
split-complementary
#681B71 #4F711B #1B713D
monochromatic
#170619 #3B0F40 #681B71 #9527A2 #BF37CF

Accessibility & contrast

On white

10.59
#681B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#681B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B71
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B71#FFFFFF#000000##FFFFFF
##681B711.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#29426F
Tritanopia (blue-blind)
#6A2B44
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681b71;
/* rgb */ color: rgb(104, 27, 113);
/* oklch */ color: oklch(38.6% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#96609a',
    500: '#681b71',
    950: '#000000',
  },
}
SCSS
$custom: #681b71;
$custom-light: #96609a;
$custom-dark: #000000;
JSON
{
  "hex": "#681b71",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 293.721,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38627,
    "c": 0.15165,
    "h": 323.3
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#681B71
secondary
#4CA642
accent
#E54354
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681B71

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

Preview Lab → · Contrast checker → · Palette generator →

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