#681A8A#681A8A

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

Color values

HEX#681A8A
RGBrgb(104, 26, 138)
HSLhsl(282, 68%, 32%)
HSVhsv(282, 81%, 54%)
CMYKcmyk(24.6%, 81.2%, 0%, 45.9%)
CIE-LABlab(28.16, 50.82, -45.58)
CIE-LCHlch(28.16, 68.26, 318.11°)
OKLaboklab(40.36% 0.1191 -0.129)
OKLCHoklch(40.36% 0.176 312.7)
XYZxyz(10.6649, 5.5171, 24.5429)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A8A #3C8A1A
analogous
#301A8A #681A8A #8A1A74
triadic
#681A8A #8A681A #1A8A68
tetradic
#681A8A #8A301A #3C8A1A #1A748A
square
#681A8A #8A301A #3C8A1A #1A748A
split-complementary
#681A8A #748A1A #1A8A30
monochromatic
#1A0723 #411057 #681A8A #8F24BD #AD43DC

Accessibility & contrast

On white

9.98
#681A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#681A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A8A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A8A#FFFFFF#000000##FFFFFF
##681A8A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#064488
Tritanopia (blue-blind)
#643652
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681a8a;
/* rgb */ color: rgb(104, 26, 138);
/* oklch */ color: oklch(40.4% 0.176 312.7);
Tailwind
colors: {
  custom: {
    50: '#9761ad',
    500: '#681a8a',
    950: '#000000',
  },
}
SCSS
$custom: #681a8a;
$custom-light: #9761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#681a8a",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 281.786,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.17559,
    "h": 312.7
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#681A8A
secondary
#68BD43
accent
#EB3D72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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