#681B86#681B86

#681B86 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.171 H 314.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#681B86
RGBrgb(104, 27, 134)
HSLhsl(283, 66%, 32%)
HSVhsv(283, 80%, 53%)
CMYKcmyk(22.4%, 79.9%, 0%, 47.5%)
CIE-LABlab(27.98, 49.62, -43.38)
CIE-LCHlch(27.98, 65.91, 318.84°)
OKLaboklab(40.14% 0.1191 -0.1226)
OKLCHoklch(40.14% 0.171 314.2)
XYZxyz(10.4032, 5.4485, 23.0533)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B86 #39861B
analogous
#331B86 #681B86 #861B6F
triadic
#681B86 #86681B #1B8668
tetradic
#681B86 #86331B #39861B #1B6F86
square
#681B86 #86331B #39861B #1B6F86
split-complementary
#681B86 #6F861B #1B8633
monochromatic
#190620 #401153 #681B86 #9025B9 #AF42D9

Accessibility & contrast

On white

10.05
#681B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B86
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B86#FFFFFF#000000##FFFFFF
##681B861.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#653450
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681b86;
/* rgb */ color: rgb(104, 27, 134);
/* oklch */ color: oklch(40.1% 0.171 314.2);
Tailwind
colors: {
  custom: {
    50: '#9761aa',
    500: '#681b86',
    950: '#000000',
  },
}
SCSS
$custom: #681b86;
$custom-light: #9761aa;
$custom-dark: #000000;
JSON
{
  "hex": "#681b86",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 283.178,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.17088,
    "h": 314.2
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#681B86
secondary
#65B944
accent
#E93E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B86

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

Preview Lab → · Contrast checker → · Palette generator →

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