#681B82#681B82

#681B82 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.167 H 315.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#681B82
RGBrgb(104, 27, 130)
HSLhsl(285, 66%, 31%)
HSVhsv(285, 79%, 51%)
CMYKcmyk(20%, 79.2%, 0%, 49%)
CIE-LABlab(27.68, 48.78, -41.36)
CIE-LCHlch(27.68, 63.95, 319.71°)
OKLaboklab(39.84% 0.1198 -0.1166)
OKLCHoklch(39.84% 0.167 315.8)
XYZxyz(10.1295, 5.3390, 21.6117)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B82 #35821B
analogous
#341B82 #681B82 #821B68
triadic
#681B82 #82681B #1B8268
tetradic
#681B82 #82341B #35821B #1B6882
square
#681B82 #82341B #35821B #1B6882
split-complementary
#681B82 #68821B #1B8234
monochromatic
#17061D #3F104F #681B82 #9126B5 #B140D7

Accessibility & contrast

On white

10.16
#681B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B82
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B82#FFFFFF#000000##FFFFFF
##681B821.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#184380
Tritanopia (blue-blind)
#66324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681b82;
/* rgb */ color: rgb(104, 27, 130);
/* oklch */ color: oklch(39.8% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#9761a7',
    500: '#681b82',
    950: '#000000',
  },
}
SCSS
$custom: #681b82;
$custom-light: #9761a7;
$custom-dark: #000000;
JSON
{
  "hex": "#681b82",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 284.854,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.16716,
    "h": 315.8
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#681B82
secondary
#60B643
accent
#E93F6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B82

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

Preview Lab → · Contrast checker → · Palette generator →

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