#681A82#681A82

#681A82 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.168 H 315.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#681A82
RGBrgb(104, 26, 130)
HSLhsl(285, 67%, 31%)
HSVhsv(285, 80%, 51%)
CMYKcmyk(20%, 80%, 0%, 49%)
CIE-LABlab(27.56, 49.14, -41.55)
CIE-LCHlch(27.56, 64.35, 319.78°)
OKLaboklab(39.75% 0.1207 -0.1172)
OKLCHoklch(39.75% 0.168 315.8)
XYZxyz(10.1069, 5.2940, 21.6042)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A82 #34821A
analogous
#341A82 #681A82 #821A68
triadic
#681A82 #82681A #1A8268
tetradic
#681A82 #82341A #34821A #1A6882
square
#681A82 #82341A #34821A #1A6882
split-complementary
#681A82 #68821A #1A8234
monochromatic
#16061C #3F104F #681A82 #9124B5 #B23ED8

Accessibility & contrast

On white

10.20
#681A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A82
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A82#FFFFFF#000000##FFFFFF
##681A821.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#184380
Tritanopia (blue-blind)
#66324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681a82;
/* rgb */ color: rgb(104, 26, 130);
/* oklch */ color: oklch(39.7% 0.168 315.8);
Tailwind
colors: {
  custom: {
    50: '#9761a7',
    500: '#681a82',
    950: '#000000',
  },
}
SCSS
$custom: #681a82;
$custom-light: #9761a7;
$custom-dark: #000000;
JSON
{
  "hex": "#681a82",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.1682,
    "h": 315.8
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#681A82
secondary
#5FB642
accent
#EA3E69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681A82

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

Preview Lab → · Contrast checker → · Palette generator →

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