#681A8B#681A8B

#681A8B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 312.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#681A8B
RGBrgb(104, 26, 139)
HSLhsl(281, 68%, 32%)
HSVhsv(281, 81%, 55%)
CMYKcmyk(25.2%, 81.3%, 0%, 45.5%)
CIE-LABlab(28.24, 51.03, -46.08)
CIE-LCHlch(28.24, 68.75, 317.92°)
OKLaboklab(40.44% 0.1189 -0.1305)
OKLCHoklch(40.44% 0.177 312.3)
XYZxyz(10.7377, 5.5462, 24.9260)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A8B #3D8B1A
analogous
#301A8B #681A8B #8B1A76
triadic
#681A8B #8B681A #1A8B68
tetradic
#681A8B #8B301A #3D8B1A #1A768B
square
#681A8B #8B301A #3D8B1A #1A768B
split-complementary
#681A8B #768B1A #1A8B30
monochromatic
#1B0724 #411057 #681A8B #8F24BF #AD43DC

Accessibility & contrast

On white

9.96
#681A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681A8B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A8B#FFFFFF#000000##FFFFFF
##681A8B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#643653
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681a8b;
/* rgb */ color: rgb(104, 26, 139);
/* oklch */ color: oklch(40.4% 0.177 312.3);
Tailwind
colors: {
  custom: {
    50: '#9761ae',
    500: '#681a8b',
    950: '#000000',
  },
}
SCSS
$custom: #681a8b;
$custom-light: #9761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#681a8b",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 281.416,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.17653,
    "h": 312.3
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#681A8B
secondary
#69BD44
accent
#EB3C73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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