#681A78#681A78

#681A78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.159 H 320.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#681A78
RGBrgb(104, 26, 120)
HSLhsl(290, 64%, 29%)
HSVhsv(290, 78%, 47%)
CMYKcmyk(13.3%, 78.3%, 0%, 52.9%)
CIE-LABlab(26.84, 47.11, -36.38)
CIE-LCHlch(26.84, 59.52, 322.32°)
OKLaboklab(39.02% 0.1221 -0.102)
OKLCHoklch(39.02% 0.159 320.1)
XYZxyz(9.4681, 5.0384, 18.2395)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A78 #2A781A
analogous
#391A78 #681A78 #781A59
triadic
#681A78 #78681A #1A7868
tetradic
#681A78 #78391A #2A781A #1A5978
square
#681A78 #78391A #2A781A #1A5978
split-complementary
#681A78 #59781A #1A7839
monochromatic
#160519 #3C0F46 #681A78 #9425AA #B938D4

Accessibility & contrast

On white

10.46
#681A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#681A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A78
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A78#FFFFFF#000000##FFFFFF
##681A781.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#682D48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681a78;
/* rgb */ color: rgb(104, 26, 120);
/* oklch */ color: oklch(39.0% 0.159 320.1);
Tailwind
colors: {
  custom: {
    50: '#96609f',
    500: '#681a78',
    950: '#000000',
  },
}
SCSS
$custom: #681a78;
$custom-light: #96609f;
$custom-dark: #000000;
JSON
{
  "hex": "#681a78",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 289.787,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.15909,
    "h": 320.1
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#681A78
secondary
#54AC41
accent
#E7405D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681A78

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

Preview Lab → · Contrast checker → · Palette generator →

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