#681D78#681D78

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

Color values

HEX#681D78
RGBrgb(104, 29, 120)
HSLhsl(289, 61%, 29%)
HSVhsv(289, 76%, 47%)
CMYKcmyk(13.3%, 75.8%, 0%, 52.9%)
CIE-LABlab(27.24, 45.98, -35.75)
CIE-LCHlch(27.24, 58.25, 322.14°)
OKLaboklab(39.3% 0.1191 -0.1002)
OKLCHoklch(39.3% 0.156 319.9)
XYZxyz(9.5380, 5.1783, 18.2628)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D78 #2D781D
analogous
#3B1D78 #681D78 #781D5B
triadic
#681D78 #78681D #1D7868
tetradic
#681D78 #783B1D #2D781D #1D5B78
square
#681D78 #783B1D #2D781D #1D5B78
split-complementary
#681D78 #5B781D #1D783B
monochromatic
#150619 #3D1147 #681D78 #9329A9 #B73FD1

Accessibility & contrast

On white

10.32
#681D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D78
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D78#FFFFFF#000000##FFFFFF
##681D781.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681d78;
/* rgb */ color: rgb(104, 29, 120);
/* oklch */ color: oklch(39.3% 0.156 319.9);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#681d78',
    950: '#000000',
  },
}
SCSS
$custom: #681d78;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#681d78",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 289.451,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.15563,
    "h": 319.9
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#681D78
secondary
#57AC45
accent
#E44460
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681D78

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

Preview Lab → · Contrast checker → · Palette generator →

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