#681C9B#681C9B

#681C9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.190 H 306.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#681C9B
RGBrgb(104, 28, 155)
HSLhsl(276, 69%, 36%)
HSVhsv(276, 82%, 61%)
CMYKcmyk(32.9%, 81.9%, 0%, 39.2%)
CIE-LABlab(29.76, 53.85, -53.45)
CIE-LCHlch(29.76, 75.87, 315.21°)
OKLaboklab(41.91% 0.1133 -0.1522)
OKLCHoklch(41.91% 0.19 306.7)
XYZxyz(12.0393, 6.1403, 31.5549)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C9B #4F9B1C
analogous
#291C9B #681C9B #9B1C8E
triadic
#681C9B #9B681C #1C9B68
tetradic
#681C9B #9B291C #4F9B1C #1C8E9B
square
#681C9B #9B291C #4F9B1C #1C8E9B
split-complementary
#681C9B #8E9B1C #1C9B29
monochromatic
#220933 #451367 #681C9B #8B25CF #A752E0

Accessibility & contrast

On white

9.43
#681C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#681C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C9B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C9B#FFFFFF#000000##FFFFFF
##681C9B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5F3E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681c9b;
/* rgb */ color: rgb(104, 28, 155);
/* oklch */ color: oklch(41.9% 0.190 306.7);
Tailwind
colors: {
  custom: {
    50: '#9963b9',
    500: '#681c9b',
    950: '#000000',
  },
}
SCSS
$custom: #681c9b;
$custom-light: #9963b9;
$custom-dark: #000000;
JSON
{
  "hex": "#681c9b",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 275.906,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41911,
    "c": 0.18971,
    "h": 306.7
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#681C9B
secondary
#7EC350
accent
#EC3C83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #681C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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