#681B97#681B97

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

Color values

HEX#681B97
RGBrgb(104, 27, 151)
HSLhsl(277, 70%, 35%)
HSVhsv(277, 82%, 59%)
CMYKcmyk(31.1%, 82.1%, 0%, 40.8%)
CIE-LABlab(29.32, 53.30, -51.73)
CIE-LCHlch(29.32, 74.28, 315.85°)
OKLaboklab(41.5% 0.1151 -0.1471)
OKLCHoklch(41.5% 0.187 308)
XYZxyz(11.6856, 5.9615, 29.8072)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B97 #4A971B
analogous
#2A1B97 #681B97 #971B88
triadic
#681B97 #97681B #1B9768
tetradic
#681B97 #972A1B #4A971B #1B8897
square
#681B97 #972A1B #4A971B #1B8897
split-complementary
#681B97 #88971B #1B972A
monochromatic
#20082F #441263 #681B97 #8C24CB #A84DDF

Accessibility & contrast

On white

9.58
#681B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B97
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B97#FFFFFF#000000##FFFFFF
##681B971.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b97;
/* rgb */ color: rgb(104, 27, 151);
/* oklch */ color: oklch(41.5% 0.187 308.0);
Tailwind
colors: {
  custom: {
    50: '#9862b6',
    500: '#681b97',
    950: '#000000',
  },
}
SCSS
$custom: #681b97;
$custom-light: #9862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#681b97",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 277.258,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.18682,
    "h": 308
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #681B97

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

Preview Lab → · Contrast checker → · Palette generator →

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