#681B7F#681B7F

#681B7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.164 H 317.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#681B7F
RGBrgb(104, 27, 127)
HSLhsl(286, 65%, 30%)
HSVhsv(286, 79%, 50%)
CMYKcmyk(18.1%, 78.7%, 0%, 50.2%)
CIE-LABlab(27.46, 48.16, -39.82)
CIE-LCHlch(27.46, 62.49, 320.42°)
OKLaboklab(39.61% 0.1202 -0.1121)
OKLCHoklch(39.61% 0.164 317)
XYZxyz(9.9310, 5.2597, 20.5667)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B7F #327F1B
analogous
#361B7F #681B7F #7F1B64
triadic
#681B7F #7F681B #1B7F68
tetradic
#681B7F #7F361B #327F1B #1B647F
square
#681B7F #7F361B #327F1B #1B647F
split-complementary
#681B7F #647F1B #1B7F36
monochromatic
#15061A #3F104D #681B7F #9126B1 #B33ED6

Accessibility & contrast

On white

10.23
#681B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#681B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B7F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B7F#FFFFFF#000000##FFFFFF
##681B7F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#67314C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681b7f;
/* rgb */ color: rgb(104, 27, 127);
/* oklch */ color: oklch(39.6% 0.164 317.0);
Tailwind
colors: {
  custom: {
    50: '#9761a5',
    500: '#681b7f',
    950: '#000000',
  },
}
SCSS
$custom: #681b7f;
$custom-light: #9761a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681b7f",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 286.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.16439,
    "h": 317
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#681B7F
secondary
#5DB343
accent
#E84067
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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