#681F89#681F89

#681F89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.169 H 312.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#681F89
RGBrgb(104, 31, 137)
HSLhsl(281, 63%, 33%)
HSVhsv(281, 77%, 54%)
CMYKcmyk(24.1%, 77.4%, 0%, 46.3%)
CIE-LABlab(28.72, 48.77, -44.05)
CIE-LCHlch(28.72, 65.72, 317.91°)
OKLaboklab(40.73% 0.1148 -0.1246)
OKLCHoklch(40.73% 0.169 312.7)
XYZxyz(10.7134, 5.7295, 24.2036)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F89 #40891F
analogous
#331F89 #681F89 #891F75
triadic
#681F89 #89681F #1F8968
tetradic
#681F89 #89331F #40891F #1F7589
square
#681F89 #89331F #40891F #1F7589
split-complementary
#681F89 #75891F #1F8933
monochromatic
#1C0825 #421457 #681F89 #8E2ABB #AB4CD6

Accessibility & contrast

On white

9.79
#681F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#681F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F89
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F89#FFFFFF#000000##FFFFFF
##681F891.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#114587
Tritanopia (blue-blind)
#643753
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681f89;
/* rgb */ color: rgb(104, 31, 137);
/* oklch */ color: oklch(40.7% 0.169 312.7);
Tailwind
colors: {
  custom: {
    50: '#9763ac',
    500: '#681f89',
    950: '#000000',
  },
}
SCSS
$custom: #681f89;
$custom-light: #9763ac;
$custom-dark: #000000;
JSON
{
  "hex": "#681f89",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 281.321,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.16942,
    "h": 312.7
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#681F89
secondary
#6DB94B
accent
#E64275
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F89

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

Preview Lab → · Contrast checker → · Palette generator →

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