#681C78#681C78

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

Color values

HEX#681C78
RGBrgb(104, 28, 120)
HSLhsl(290, 62%, 29%)
HSVhsv(290, 77%, 47%)
CMYKcmyk(13.3%, 76.7%, 0%, 52.9%)
CIE-LABlab(27.10, 46.37, -35.97)
CIE-LCHlch(27.10, 58.68, 322.20°)
OKLaboklab(39.2% 0.1201 -0.1008)
OKLCHoklch(39.2% 0.157 320)
XYZxyz(9.5139, 5.1301, 18.2547)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C78 #2C781C
analogous
#3A1C78 #681C78 #781C5A
triadic
#681C78 #78681C #1C7868
tetradic
#681C78 #783A1C #2C781C #1C5A78
square
#681C78 #783A1C #2C781C #1C5A78
split-complementary
#681C78 #5A781C #1C783A
monochromatic
#160619 #3D1046 #681C78 #9328AA #B83DD2

Accessibility & contrast

On white

10.37
#681C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C78
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C78#FFFFFF#000000##FFFFFF
##681C781.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c78;
/* rgb */ color: rgb(104, 28, 120);
/* oklch */ color: oklch(39.2% 0.157 320.0);
Tailwind
colors: {
  custom: {
    50: '#96619f',
    500: '#681c78',
    950: '#000000',
  },
}
SCSS
$custom: #681c78;
$custom-light: #96619f;
$custom-dark: #000000;
JSON
{
  "hex": "#681c78",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 289.565,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.15682,
    "h": 320
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#681C78
secondary
#56AC44
accent
#E5435F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681C78

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

Preview Lab → · Contrast checker → · Palette generator →

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