#681C9D#681C9D

#681C9D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.192 H 306.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#681C9D
RGBrgb(104, 28, 157)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 82%, 62%)
CMYKcmyk(33.8%, 82.2%, 0%, 38.4%)
CIE-LABlab(29.93, 54.30, -54.40)
CIE-LCHlch(29.93, 76.86, 314.95°)
OKLaboklab(42.08% 0.1127 -0.1549)
OKLCHoklch(42.08% 0.192 306)
XYZxyz(12.2086, 6.2080, 32.4468)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C9D #519D1C
analogous
#281C9D #681C9D #9D1C92
triadic
#681C9D #9D681C #1C9D68
tetradic
#681C9D #9D281C #519D1C #1C929D
square
#681C9D #9D281C #519D1C #1C929D
split-complementary
#681C9D #929D1C #1C9D28
monochromatic
#230935 #461369 #681C9D #8A25D1 #A653E0

Accessibility & contrast

On white

9.37
#681C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C9D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C9D#FFFFFF#000000##FFFFFF
##681C9D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#5E3F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681c9d;
/* rgb */ color: rgb(104, 28, 157);
/* oklch */ color: oklch(42.1% 0.192 306.0);
Tailwind
colors: {
  custom: {
    50: '#9963bb',
    500: '#681c9d',
    950: '#000000',
  },
}
SCSS
$custom: #681c9d;
$custom-light: #9963bb;
$custom-dark: #000000;
JSON
{
  "hex": "#681c9d",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 275.349,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.19161,
    "h": 306
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#681C9D
secondary
#80C351
accent
#ED3B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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