#681C96#681C96

#681C96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.185 H 308.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#681C96
RGBrgb(104, 28, 150)
HSLhsl(277, 69%, 35%)
HSVhsv(277, 81%, 59%)
CMYKcmyk(30.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(29.35, 52.73, -51.06)
CIE-LCHlch(29.35, 73.40, 315.92°)
OKLaboklab(41.5% 0.1146 -0.1451)
OKLCHoklch(41.5% 0.185 308.3)
XYZxyz(11.6280, 5.9758, 29.3891)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C96 #4A961C
analogous
#2B1C96 #681C96 #961C87
triadic
#681C96 #96681C #1C9668
tetradic
#681C96 #962B1C #4A961C #1C8796
square
#681C96 #962B1C #4A961C #1C8796
split-complementary
#681C96 #87961C #1C962B
monochromatic
#20092F #441262 #681C96 #8C26CA #A84EDE

Accessibility & contrast

On white

9.57
#681C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C96
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C96#FFFFFF#000000##FFFFFF
##681C961.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#613C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681c96;
/* rgb */ color: rgb(104, 28, 150);
/* oklch */ color: oklch(41.5% 0.185 308.3);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#681c96',
    950: '#000000',
  },
}
SCSS
$custom: #681c96;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681c96",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 277.377,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.18495,
    "h": 308.3
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#681C96
secondary
#79C14D
accent
#EB3C7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C96

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

Preview Lab → · Contrast checker → · Palette generator →

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