#681B7D#681B7D

#681B7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.163 H 317.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#681B7D
RGBrgb(104, 27, 125)
HSLhsl(287, 64%, 30%)
HSVhsv(287, 78%, 49%)
CMYKcmyk(16.8%, 78.4%, 0%, 51%)
CIE-LABlab(27.32, 47.75, -38.79)
CIE-LCHlch(27.32, 61.52, 320.92°)
OKLaboklab(39.47% 0.1205 -0.1091)
OKLCHoklch(39.47% 0.163 317.8)
XYZxyz(9.8020, 5.2080, 19.8870)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B7D #307D1B
analogous
#371B7D #681B7D #7D1B61
triadic
#681B7D #7D681B #1B7D68
tetradic
#681B7D #7D371B #307D1B #1B617D
square
#681B7D #7D371B #307D1B #1B617D
split-complementary
#681B7D #617D1B #1B7D37
monochromatic
#150519 #3E104B #681B7D #9226AF #B53DD5

Accessibility & contrast

On white

10.29
#681B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B7D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B7D#FFFFFF#000000##FFFFFF
##681B7D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#67304B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681b7d;
/* rgb */ color: rgb(104, 27, 125);
/* oklch */ color: oklch(39.5% 0.163 317.8);
Tailwind
colors: {
  custom: {
    50: '#9761a3',
    500: '#681b7d',
    950: '#000000',
  },
}
SCSS
$custom: #681b7d;
$custom-light: #9761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#681b7d",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 287.143,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.16255,
    "h": 317.8
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#681B7D
secondary
#5AB143
accent
#E74064
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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