#681B96#681B96

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

Color values

HEX#681B96
RGBrgb(104, 27, 150)
HSLhsl(278, 69%, 35%)
HSVhsv(278, 82%, 59%)
CMYKcmyk(30.7%, 82%, 0%, 41.2%)
CIE-LABlab(29.23, 53.08, -51.25)
CIE-LCHlch(29.23, 73.78, 316.00°)
OKLaboklab(41.41% 0.1154 -0.1457)
OKLCHoklch(41.41% 0.186 308.4)
XYZxyz(11.6047, 5.9291, 29.3813)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B96 #49961B
analogous
#2A1B96 #681B96 #961B87
triadic
#681B96 #96681B #1B9668
tetradic
#681B96 #962A1B #49961B #1B8796
square
#681B96 #962A1B #49961B #1B8796
split-complementary
#681B96 #87961B #1B962A
monochromatic
#20082E #441262 #681B96 #8C24CA #A84DDF

Accessibility & contrast

On white

9.61
#681B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#681B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B96
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B96#FFFFFF#000000##FFFFFF
##681B961.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b96;
/* rgb */ color: rgb(104, 27, 150);
/* oklch */ color: oklch(41.4% 0.186 308.4);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#681b96',
    950: '#000000',
  },
}
SCSS
$custom: #681b96;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681b96",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 277.561,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41412,
    "c": 0.18588,
    "h": 308.4
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#681B96
secondary
#78C14C
accent
#EC3B7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B96

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

Preview Lab → · Contrast checker → · Palette generator →

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