#681D7C#681D7C

#681D7C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.159 H 318.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#681D7C
RGBrgb(104, 29, 124)
HSLhsl(287, 62%, 30%)
HSVhsv(287, 77%, 49%)
CMYKcmyk(16.1%, 76.6%, 0%, 51.4%)
CIE-LABlab(27.51, 46.80, -37.85)
CIE-LCHlch(27.51, 60.19, 321.04°)
OKLaboklab(39.58% 0.1187 -0.1063)
OKLCHoklch(39.58% 0.159 318.1)
XYZxyz(9.7859, 5.2775, 19.5681)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D7C #317C1D
analogous
#381D7C #681D7C #7C1D61
triadic
#681D7C #7C681D #1D7C68
tetradic
#681D7C #7C381D #317C1D #1D617C
square
#681D7C #7C381D #317C1D #1D617C
split-complementary
#681D7C #617C1D #1D7C38
monochromatic
#150619 #3E114A #681D7C #9229AE #B441D3

Accessibility & contrast

On white

10.22
#681D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#681D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D7C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D7C#FFFFFF#000000##FFFFFF
##681D7C1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#67314B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681d7c;
/* rgb */ color: rgb(104, 29, 124);
/* oklch */ color: oklch(39.6% 0.159 318.1);
Tailwind
colors: {
  custom: {
    50: '#9662a2',
    500: '#681d7c',
    950: '#000000',
  },
}
SCSS
$custom: #681d7c;
$custom-light: #9662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681d7c",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 287.368,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.15936,
    "h": 318.1
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#681D7C
secondary
#5CB045
accent
#E54365
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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