#681F78#681F78

#681F78 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.153 H 319.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#681F78
RGBrgb(104, 31, 120)
HSLhsl(289, 59%, 30%)
HSVhsv(289, 74%, 47%)
CMYKcmyk(13.3%, 74.2%, 0%, 52.9%)
CIE-LABlab(27.52, 45.19, -35.30)
CIE-LCHlch(27.52, 57.34, 322.00°)
OKLaboklab(39.5% 0.117 -0.0989)
OKLCHoklch(39.5% 0.153 319.8)
XYZxyz(9.5886, 5.2796, 18.2796)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F78 #2F781F
analogous
#3B1F78 #681F78 #781F5C
triadic
#681F78 #78681F #1F7868
tetradic
#681F78 #783B1F #2F781F #1F5C78
square
#681F78 #783B1F #2F781F #1F5C78
split-complementary
#681F78 #5C781F #1F783B
monochromatic
#150618 #3E1247 #681F78 #922CA9 #B543CE

Accessibility & contrast

On white

10.22
#681F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F78
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F78#FFFFFF#000000##FFFFFF
##681F781.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f78;
/* rgb */ color: rgb(104, 31, 120);
/* oklch */ color: oklch(39.5% 0.153 319.8);
Tailwind
colors: {
  custom: {
    50: '#96629f',
    500: '#681f78',
    950: '#000000',
  },
}
SCSS
$custom: #681f78;
$custom-light: #96629f;
$custom-dark: #000000;
JSON
{
  "hex": "#681f78",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 289.213,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.15318,
    "h": 319.8
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#681F78
secondary
#59AB47
accent
#E24662
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #681F78

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

Preview Lab → · Contrast checker → · Palette generator →

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