#681B79#681B79

#681B79 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.159 H 319.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#681B79
RGBrgb(104, 27, 121)
HSLhsl(289, 64%, 29%)
HSVhsv(289, 78%, 47%)
CMYKcmyk(14%, 77.7%, 0%, 52.5%)
CIE-LABlab(27.04, 46.94, -36.70)
CIE-LCHlch(27.04, 59.59, 321.98°)
OKLaboklab(39.18% 0.121 -0.103)
OKLCHoklch(39.18% 0.159 319.6)
XYZxyz(9.5516, 5.1079, 18.5683)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B79 #2C791B
analogous
#391B79 #681B79 #791B5B
triadic
#681B79 #79681B #1B7968
tetradic
#681B79 #79391B #2C791B #1B5B79
square
#681B79 #79391B #2C791B #1B5B79
split-complementary
#681B79 #5B791B #1B7939
monochromatic
#160619 #3D1047 #681B79 #9326AB #B83BD3

Accessibility & contrast

On white

10.39
#681B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#681B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B79
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B79#FFFFFF#000000##FFFFFF
##681B791.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#234277
Tritanopia (blue-blind)
#682E49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681b79;
/* rgb */ color: rgb(104, 27, 121);
/* oklch */ color: oklch(39.2% 0.159 319.6);
Tailwind
colors: {
  custom: {
    50: '#9661a0',
    500: '#681b79',
    950: '#000000',
  },
}
SCSS
$custom: #681b79;
$custom-light: #9661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681b79",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 289.149,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.15888,
    "h": 319.6
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#681B79
secondary
#56AD43
accent
#E7415F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #681B79

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

Preview Lab → · Contrast checker → · Palette generator →

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