#681A79#681A79

#681A79 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.160 H 319.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#681A79
RGBrgb(104, 26, 121)
HSLhsl(289, 65%, 29%)
HSVhsv(289, 79%, 47%)
CMYKcmyk(14%, 78.5%, 0%, 52.5%)
CIE-LABlab(26.91, 47.31, -36.91)
CIE-LCHlch(26.91, 60.00, 322.04°)
OKLaboklab(39.09% 0.122 -0.1036)
OKLCHoklch(39.09% 0.16 319.7)
XYZxyz(9.5291, 5.0628, 18.5607)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A79 #2B791A
analogous
#391A79 #681A79 #791A5B
triadic
#681A79 #79681A #1A7968
tetradic
#681A79 #79391A #2B791A #1A5B79
square
#681A79 #79391A #2B791A #1A5B79
split-complementary
#681A79 #5B791A #1A7939
monochromatic
#160519 #3D0F47 #681A79 #9325AB #B939D4

Accessibility & contrast

On white

10.44
#681A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681A79
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A79#FFFFFF#000000##FFFFFF
##681A791.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681a79;
/* rgb */ color: rgb(104, 26, 121);
/* oklch */ color: oklch(39.1% 0.160 319.7);
Tailwind
colors: {
  custom: {
    50: '#9760a0',
    500: '#681a79',
    950: '#000000',
  },
}
SCSS
$custom: #681a79;
$custom-light: #9760a0;
$custom-dark: #000000;
JSON
{
  "hex": "#681a79",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 289.263,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.16,
    "h": 319.7
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#681A79
secondary
#55AD41
accent
#E8405E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #681A79

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

Preview Lab → · Contrast checker → · Palette generator →

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