#681C7C#681C7C

#681C7C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 318.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#681C7C
RGBrgb(104, 28, 124)
HSLhsl(288, 63%, 30%)
HSVhsv(288, 77%, 49%)
CMYKcmyk(16.1%, 77.4%, 0%, 51.4%)
CIE-LABlab(27.38, 47.18, -38.06)
CIE-LCHlch(27.38, 60.62, 321.11°)
OKLaboklab(39.49% 0.1197 -0.107)
OKLCHoklch(39.49% 0.161 318.2)
XYZxyz(9.7618, 5.2292, 19.5600)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C7C #307C1C
analogous
#381C7C #681C7C #7C1C60
triadic
#681C7C #7C681C #1C7C68
tetradic
#681C7C #7C381C #307C1C #1C607C
square
#681C7C #7C381C #307C1C #1C607C
split-complementary
#681C7C #607C1C #1C7C38
monochromatic
#150619 #3E114A #681C7C #9227AE #B53FD4

Accessibility & contrast

On white

10.26
#681C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C7C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C7C#FFFFFF#000000##FFFFFF
##681C7C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c7c;
/* rgb */ color: rgb(104, 28, 124);
/* oklch */ color: oklch(39.5% 0.161 318.2);
Tailwind
colors: {
  custom: {
    50: '#9761a2',
    500: '#681c7c',
    950: '#000000',
  },
}
SCSS
$custom: #681c7c;
$custom-light: #9761a2;
$custom-dark: #000000;
JSON
{
  "hex": "#681c7c",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 287.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.16051,
    "h": 318.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#681C7C
secondary
#5AB044
accent
#E64264
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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