#681C9A#681C9A

#681C9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.189 H 307.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#681C9A
RGBrgb(104, 28, 154)
HSLhsl(276, 69%, 36%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32.5%, 81.8%, 0%, 39.6%)
CIE-LABlab(29.68, 53.63, -52.97)
CIE-LCHlch(29.68, 75.38, 315.35°)
OKLaboklab(41.83% 0.1136 -0.1508)
OKLCHoklch(41.83% 0.189 307)
XYZxyz(11.9556, 6.1068, 31.1145)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C9A #4E9A1C
analogous
#291C9A #681C9A #9A1C8D
triadic
#681C9A #9A681C #1C9A68
tetradic
#681C9A #9A291C #4E9A1C #1C8D9A
square
#681C9A #9A291C #4E9A1C #1C8D9A
split-complementary
#681C9A #8D9A1C #1C9A29
monochromatic
#220932 #451366 #681C9A #8B25CE #A751DF

Accessibility & contrast

On white

9.45
#681C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#681C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C9A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C9A#FFFFFF#000000##FFFFFF
##681C9A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#5F3E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681c9a;
/* rgb */ color: rgb(104, 28, 154);
/* oklch */ color: oklch(41.8% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#9863b9',
    500: '#681c9a',
    950: '#000000',
  },
}
SCSS
$custom: #681c9a;
$custom-light: #9863b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681c9a",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 276.19,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.18875,
    "h": 307
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#681C9A
secondary
#7DC250
accent
#EC3C82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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