#681A7D#681A7D

#681A7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 317.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#681A7D
RGBrgb(104, 26, 125)
HSLhsl(287, 66%, 30%)
HSVhsv(287, 79%, 49%)
CMYKcmyk(16.8%, 79.2%, 0%, 51%)
CIE-LABlab(27.19, 48.11, -38.99)
CIE-LCHlch(27.19, 61.93, 320.98°)
OKLaboklab(39.38% 0.1214 -0.1097)
OKLCHoklch(39.38% 0.164 317.9)
XYZxyz(9.7795, 5.1630, 19.8795)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A7D #2F7D1A
analogous
#371A7D #681A7D #7D1A61
triadic
#681A7D #7D681A #1A7D68
tetradic
#681A7D #7D371A #2F7D1A #1A617D
square
#681A7D #7D371A #2F7D1A #1A617D
split-complementary
#681A7D #617D1A #1A7D37
monochromatic
#150519 #3E0F4A #681A7D #9225B0 #B53BD6

Accessibility & contrast

On white

10.33
#681A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#681A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A7D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A7D#FFFFFF#000000##FFFFFF
##681A7D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#67304B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681a7d;
/* rgb */ color: rgb(104, 26, 125);
/* oklch */ color: oklch(39.4% 0.164 317.9);
Tailwind
colors: {
  custom: {
    50: '#9760a3',
    500: '#681a7d',
    950: '#000000',
  },
}
SCSS
$custom: #681a7d;
$custom-light: #9760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681a7d",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 287.273,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.16363,
    "h": 317.9
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#681A7D
secondary
#59B142
accent
#E93F63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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