#681C99#681C99

#681C99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.188 H 307.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#681C99
RGBrgb(104, 28, 153)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(32%, 81.7%, 0%, 40%)
CIE-LABlab(29.60, 53.40, -52.50)
CIE-LCHlch(29.60, 74.89, 315.49°)
OKLaboklab(41.74% 0.1138 -0.1494)
OKLCHoklch(41.74% 0.188 307.3)
XYZxyz(11.8727, 6.0736, 30.6777)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C99 #4D991C
analogous
#291C99 #681C99 #991C8B
triadic
#681C99 #99681C #1C9968
tetradic
#681C99 #99291C #4D991C #1C8B99
square
#681C99 #99291C #4D991C #1C8B99
split-complementary
#681C99 #8B991C #1C9929
monochromatic
#220932 #451365 #681C99 #8B25CD #A750DF

Accessibility & contrast

On white

9.48
#681C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#681C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C99
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C99#FFFFFF#000000##FFFFFF
##681C991.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#603D5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681c99;
/* rgb */ color: rgb(104, 28, 153);
/* oklch */ color: oklch(41.7% 0.188 307.3);
Tailwind
colors: {
  custom: {
    50: '#9863b8',
    500: '#681c99',
    950: '#000000',
  },
}
SCSS
$custom: #681c99;
$custom-light: #9863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681c99",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 276.48,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.1878,
    "h": 307.3
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#681C99
secondary
#7CC24F
accent
#EC3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C99

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

Preview Lab → · Contrast checker → · Palette generator →

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