#681A97#681A97

#681A97 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 308.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#681A97
RGBrgb(104, 26, 151)
HSLhsl(277, 71%, 35%)
HSVhsv(277, 83%, 59%)
CMYKcmyk(31.1%, 82.8%, 0%, 40.8%)
CIE-LABlab(29.20, 53.63, -51.92)
CIE-LCHlch(29.20, 74.65, 315.93°)
OKLaboklab(41.42% 0.1159 -0.1477)
OKLCHoklch(41.42% 0.188 308.1)
XYZxyz(11.6631, 5.9164, 29.7997)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A97 #49971A
analogous
#2A1A97 #681A97 #971A88
triadic
#681A97 #97681A #1A9768
tetradic
#681A97 #972A1A #49971A #1A8897
square
#681A97 #972A1A #49971A #1A8897
split-complementary
#681A97 #88971A #1A972A
monochromatic
#20082F #441163 #681A97 #8C23CB #A84BE0

Accessibility & contrast

On white

9.62
#681A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#681A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A97
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A97#FFFFFF#000000##FFFFFF
##681A971.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#603B5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681a97;
/* rgb */ color: rgb(104, 26, 151);
/* oklch */ color: oklch(41.4% 0.188 308.1);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#681a97',
    950: '#000000',
  },
}
SCSS
$custom: #681a97;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681a97",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 277.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.18771,
    "h": 308.1
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#681A97
secondary
#78C24B
accent
#ED3A7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681A97

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

Preview Lab → · Contrast checker → · Palette generator →

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