#681C83#681C83

#681C83 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 315.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#681C83
RGBrgb(104, 28, 131)
HSLhsl(284, 65%, 31%)
HSVhsv(284, 79%, 51%)
CMYKcmyk(20.6%, 78.6%, 0%, 48.6%)
CIE-LABlab(27.88, 48.63, -41.66)
CIE-LCHlch(27.88, 64.03, 319.41°)
OKLaboklab(40% 0.1187 -0.1175)
OKLCHoklch(40% 0.167 315.3)
XYZxyz(10.2202, 5.4126, 21.9747)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C83 #37831C
analogous
#341C83 #681C83 #831C6A
triadic
#681C83 #83681C #1C8368
tetradic
#681C83 #83341C #37831C #1C6A83
square
#681C83 #83341C #37831C #1C6A83
split-complementary
#681C83 #6A831C #1C8334
monochromatic
#18061E #401151 #681C83 #9027B5 #B043D7

Accessibility & contrast

On white

10.08
#681C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#681C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C83
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C83#FFFFFF#000000##FFFFFF
##681C831.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#66334F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681c83;
/* rgb */ color: rgb(104, 28, 131);
/* oklch */ color: oklch(40.0% 0.167 315.3);
Tailwind
colors: {
  custom: {
    50: '#9761a8',
    500: '#681c83',
    950: '#000000',
  },
}
SCSS
$custom: #681c83;
$custom-light: #9761a8;
$custom-dark: #000000;
JSON
{
  "hex": "#681c83",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 284.272,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.16702,
    "h": 315.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#681C83
secondary
#62B645
accent
#E8406C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681C83

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

Preview Lab → · Contrast checker → · Palette generator →

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