#681D7B#681D7B

#681D7B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.158 H 318.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#681D7B
RGBrgb(104, 29, 123)
HSLhsl(288, 62%, 30%)
HSVhsv(288, 76%, 48%)
CMYKcmyk(15.4%, 76.4%, 0%, 51.8%)
CIE-LABlab(27.44, 46.59, -37.32)
CIE-LCHlch(27.44, 59.70, 321.30°)
OKLaboklab(39.51% 0.1188 -0.1048)
OKLCHoklch(39.51% 0.158 318.6)
XYZxyz(9.7229, 5.2523, 19.2367)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D7B #307B1D
analogous
#391D7B #681D7B #7B1D5F
triadic
#681D7B #7B681D #1D7B68
tetradic
#681D7B #7B391D #307B1D #1D5F7B
square
#681D7B #7B391D #307B1D #1D5F7B
split-complementary
#681D7B #5F7B1D #1D7B39
monochromatic
#150619 #3E1149 #681D7B #9229AD #B540D2

Accessibility & contrast

On white

10.24
#681D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D7B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D7B#FFFFFF#000000##FFFFFF
##681D7B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681d7b;
/* rgb */ color: rgb(104, 29, 123);
/* oklch */ color: oklch(39.5% 0.158 318.6);
Tailwind
colors: {
  custom: {
    50: '#9661a2',
    500: '#681d7b',
    950: '#000000',
  },
}
SCSS
$custom: #681d7b;
$custom-light: #9661a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681d7b",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 287.872,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.15842,
    "h": 318.6
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#681D7B
secondary
#5AAF45
accent
#E54364
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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