#681F8A#681F8A

#681F8A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.170 H 312.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#681F8A
RGBrgb(104, 31, 138)
HSLhsl(281, 63%, 33%)
HSVhsv(281, 78%, 54%)
CMYKcmyk(24.6%, 77.5%, 0%, 45.9%)
CIE-LABlab(28.79, 48.99, -44.55)
CIE-LCHlch(28.79, 66.22, 317.72°)
OKLaboklab(40.81% 0.1147 -0.126)
OKLCHoklch(40.81% 0.17 312.3)
XYZxyz(10.7855, 5.7583, 24.5831)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F8A #418A1F
analogous
#331F8A #681F8A #8A1F76
triadic
#681F8A #8A681F #1F8A68
tetradic
#681F8A #8A331F #418A1F #1F768A
square
#681F8A #8A331F #418A1F #1F768A
split-complementary
#681F8A #768A1F #1F8A33
monochromatic
#1D0926 #421458 #681F8A #8E2ABC #AB4CD7

Accessibility & contrast

On white

9.76
#681F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F8A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F8A#FFFFFF#000000##FFFFFF
##681F8A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#0F4588
Tritanopia (blue-blind)
#643853
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681f8a;
/* rgb */ color: rgb(104, 31, 138);
/* oklch */ color: oklch(40.8% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#9763ad',
    500: '#681f8a',
    950: '#000000',
  },
}
SCSS
$custom: #681f8a;
$custom-light: #9763ad;
$custom-dark: #000000;
JSON
{
  "hex": "#681f8a",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 280.935,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.17038,
    "h": 312.3
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#681F8A
secondary
#6EBA4B
accent
#E64176
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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