#681E78#681E78

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

Color values

HEX#681E78
RGBrgb(104, 30, 120)
HSLhsl(289, 60%, 29%)
HSVhsv(289, 75%, 47%)
CMYKcmyk(13.3%, 75%, 0%, 52.9%)
CIE-LABlab(27.38, 45.59, -35.53)
CIE-LCHlch(27.38, 57.80, 322.07°)
OKLaboklab(39.4% 0.118 -0.0996)
OKLCHoklch(39.4% 0.154 319.9)
XYZxyz(9.5629, 5.2281, 18.2711)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E78 #2E781E
analogous
#3B1E78 #681E78 #781E5B
triadic
#681E78 #78681E #1E7868
tetradic
#681E78 #783B1E #2E781E #1E5B78
square
#681E78 #783B1E #2E781E #1E5B78
split-complementary
#681E78 #5B781E #1E783B
monochromatic
#150618 #3E1247 #681E78 #922AA9 #B641CF

Accessibility & contrast

On white

10.27
#681E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E78
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E78#FFFFFF#000000##FFFFFF
##681E781.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#264376
Tritanopia (blue-blind)
#682F49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681e78;
/* rgb */ color: rgb(104, 30, 120);
/* oklch */ color: oklch(39.4% 0.154 319.9);
Tailwind
colors: {
  custom: {
    50: '#96629f',
    500: '#681e78',
    950: '#000000',
  },
}
SCSS
$custom: #681e78;
$custom-light: #96629f;
$custom-dark: #000000;
JSON
{
  "hex": "#681e78",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 289.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39395,
    "c": 0.15443,
    "h": 319.9
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#681E78
secondary
#58AC46
accent
#E34561
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681E78

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

Preview Lab → · Contrast checker → · Palette generator →

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