#681D87#681D87

#681D87 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.170 H 313.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#681D87
RGBrgb(104, 29, 135)
HSLhsl(282, 65%, 32%)
HSVhsv(282, 79%, 53%)
CMYKcmyk(23%, 78.5%, 0%, 47.1%)
CIE-LABlab(28.30, 49.10, -43.48)
CIE-LCHlch(28.30, 65.58, 318.48°)
OKLaboklab(40.39% 0.1171 -0.1229)
OKLCHoklch(40.39% 0.17 313.6)
XYZxyz(10.5207, 5.5714, 23.4382)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D87 #3C871D
analogous
#331D87 #681D87 #871D71
triadic
#681D87 #87681D #1D8768
tetradic
#681D87 #87331D #3C871D #1D7187
square
#681D87 #87331D #3C871D #1D7187
split-complementary
#681D87 #71871D #1D8733
monochromatic
#1A0722 #411255 #681D87 #8F28B9 #AD47D7

Accessibility & contrast

On white

9.93
#681D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D87
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D87#FFFFFF#000000##FFFFFF
##681D871.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#653651
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681d87;
/* rgb */ color: rgb(104, 29, 135);
/* oklch */ color: oklch(40.4% 0.170 313.6);
Tailwind
colors: {
  custom: {
    50: '#9762ab',
    500: '#681d87',
    950: '#000000',
  },
}
SCSS
$custom: #681d87;
$custom-light: #9762ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681d87",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 282.453,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.16971,
    "h": 313.6
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#681D87
secondary
#68B946
accent
#E84071
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681D87

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

Preview Lab → · Contrast checker → · Palette generator →

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