#681C97#681C97

#681C97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 308.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#681C97
RGBrgb(104, 28, 151)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(31.1%, 81.5%, 0%, 40.8%)
CIE-LABlab(29.43, 52.96, -51.54)
CIE-LCHlch(29.43, 73.90, 315.78°)
OKLaboklab(41.58% 0.1144 -0.1466)
OKLCHoklch(41.58% 0.186 308)
XYZxyz(11.7089, 6.0081, 29.8150)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C97 #4B971C
analogous
#2A1C97 #681C97 #971C89
triadic
#681C97 #97681C #1C9768
tetradic
#681C97 #972A1C #4B971C #1C8997
square
#681C97 #972A1C #4B971C #1C8997
split-complementary
#681C97 #89971C #1C972A
monochromatic
#210930 #441263 #681C97 #8C26CB #A84FDE

Accessibility & contrast

On white

9.54
#681C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#681C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C97
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C97#FFFFFF#000000##FFFFFF
##681C971.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c97;
/* rgb */ color: rgb(104, 28, 151);
/* oklch */ color: oklch(41.6% 0.186 308.0);
Tailwind
colors: {
  custom: {
    50: '#9863b6',
    500: '#681c97',
    950: '#000000',
  },
}
SCSS
$custom: #681c97;
$custom-light: #9863b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681c97",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 277.073,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.1859,
    "h": 308
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#681C97
secondary
#7AC14E
accent
#EC3C7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C97

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

Preview Lab → · Contrast checker → · Palette generator →

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