#681C7B#681C7B

#681C7B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.160 H 318.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#681C7B
RGBrgb(104, 28, 123)
HSLhsl(288, 63%, 30%)
HSVhsv(288, 77%, 48%)
CMYKcmyk(15.4%, 77.2%, 0%, 51.8%)
CIE-LABlab(27.31, 46.97, -37.54)
CIE-LCHlch(27.31, 60.13, 321.37°)
OKLaboklab(39.41% 0.1198 -0.1054)
OKLCHoklch(39.41% 0.16 318.6)
XYZxyz(9.6988, 5.2041, 19.2287)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C7B #2F7B1C
analogous
#391C7B #681C7B #7B1C5F
triadic
#681C7B #7B681C #1C7B68
tetradic
#681C7B #7B391C #2F7B1C #1C5F7B
square
#681C7B #7B391C #2F7B1C #1C5F7B
split-complementary
#681C7B #5F7B1C #1C7B39
monochromatic
#150619 #3E1149 #681C7B #9227AD #B53ED3

Accessibility & contrast

On white

10.29
#681C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C7B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C7B#FFFFFF#000000##FFFFFF
##681C7B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#68304A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681c7b;
/* rgb */ color: rgb(104, 28, 123);
/* oklch */ color: oklch(39.4% 0.160 318.6);
Tailwind
colors: {
  custom: {
    50: '#9761a2',
    500: '#681c7b',
    950: '#000000',
  },
}
SCSS
$custom: #681c7b;
$custom-light: #9761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681c7b",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 288,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.15958,
    "h": 318.6
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#681C7B
secondary
#59AF44
accent
#E64263
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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