#681C79#681C79

#681C79 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.158 H 319.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#681C79
RGBrgb(104, 28, 121)
HSLhsl(289, 62%, 29%)
HSVhsv(289, 77%, 47%)
CMYKcmyk(14%, 76.9%, 0%, 52.5%)
CIE-LABlab(27.17, 46.57, -36.49)
CIE-LCHlch(27.17, 59.16, 321.92°)
OKLaboklab(39.27% 0.12 -0.1024)
OKLCHoklch(39.27% 0.158 319.5)
XYZxyz(9.5749, 5.1545, 18.5760)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C79 #2D791C
analogous
#3A1C79 #681C79 #791C5C
triadic
#681C79 #79681C #1C7968
tetradic
#681C79 #793A1C #2D791C #1C5C79
square
#681C79 #793A1C #2D791C #1C5C79
split-complementary
#681C79 #5C791C #1C793A
monochromatic
#150619 #3D1047 #681C79 #9328AB #B73DD2

Accessibility & contrast

On white

10.34
#681C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#681C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C79
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C79#FFFFFF#000000##FFFFFF
##681C791.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c79;
/* rgb */ color: rgb(104, 28, 121);
/* oklch */ color: oklch(39.3% 0.158 319.5);
Tailwind
colors: {
  custom: {
    50: '#9661a0',
    500: '#681c79',
    950: '#000000',
  },
}
SCSS
$custom: #681c79;
$custom-light: #9661a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681c79",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 289.032,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.15774,
    "h": 319.5
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#681C79
secondary
#57AD44
accent
#E54260
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #681C79

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

Preview Lab → · Contrast checker → · Palette generator →

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