#681A8D#681A8D

#681A8D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.178 H 311.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#681A8D
RGBrgb(104, 26, 141)
HSLhsl(281, 69%, 33%)
HSVhsv(281, 82%, 55%)
CMYKcmyk(26.2%, 81.6%, 0%, 44.7%)
CIE-LABlab(28.39, 51.46, -47.06)
CIE-LCHlch(28.39, 69.74, 317.55°)
OKLaboklab(40.6% 0.1184 -0.1334)
OKLCHoklch(40.6% 0.178 311.6)
XYZxyz(10.8851, 5.6052, 25.7026)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A8D #3F8D1A
analogous
#2F1A8D #681A8D #8D1A78
triadic
#681A8D #8D681A #1A8D68
tetradic
#681A8D #8D2F1A #3F8D1A #1A788D
square
#681A8D #8D2F1A #3F8D1A #1A788D
split-complementary
#681A8D #788D1A #1A8D2F
monochromatic
#1C0726 #421059 #681A8D #8E24C1 #AC45DD

Accessibility & contrast

On white

9.90
#681A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#681A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A8D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A8D#FFFFFF#000000##FFFFFF
##681A8D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#633754
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681a8d;
/* rgb */ color: rgb(104, 26, 141);
/* oklch */ color: oklch(40.6% 0.178 311.6);
Tailwind
colors: {
  custom: {
    50: '#9861af',
    500: '#681a8d',
    950: '#000000',
  },
}
SCSS
$custom: #681a8d;
$custom-light: #9861af;
$custom-dark: #000000;
JSON
{
  "hex": "#681a8d",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 280.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.406,
    "c": 0.17838,
    "h": 311.6
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#681A8D
secondary
#6CBE45
accent
#EC3C75
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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