#681B7E#681B7E

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

Color values

HEX#681B7E
RGBrgb(104, 27, 126)
HSLhsl(287, 65%, 30%)
HSVhsv(287, 79%, 49%)
CMYKcmyk(17.5%, 78.6%, 0%, 50.6%)
CIE-LABlab(27.39, 47.96, -39.30)
CIE-LCHlch(27.39, 62.01, 320.66°)
OKLaboklab(39.54% 0.1204 -0.1106)
OKLCHoklch(39.54% 0.163 317.4)
XYZxyz(9.8662, 5.2337, 20.2251)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B7E #317E1B
analogous
#371B7E #681B7E #7E1B62
triadic
#681B7E #7E681B #1B7E68
tetradic
#681B7E #7E371B #317E1B #1B627E
square
#681B7E #7E371B #317E1B #1B627E
split-complementary
#681B7E #627E1B #1B7E37
monochromatic
#150519 #3E104C #681B7E #9226B0 #B43ED6

Accessibility & contrast

On white

10.26
#681B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681B7E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B7E#FFFFFF#000000##FFFFFF
##681B7E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b7e;
/* rgb */ color: rgb(104, 27, 126);
/* oklch */ color: oklch(39.5% 0.163 317.4);
Tailwind
colors: {
  custom: {
    50: '#9761a4',
    500: '#681b7e',
    950: '#000000',
  },
}
SCSS
$custom: #681b7e;
$custom-light: #9761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#681b7e",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 286.667,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.16347,
    "h": 317.4
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#681B7E
secondary
#5CB243
accent
#E84065
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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