#681B85#681B85

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

Color values

HEX#681B85
RGBrgb(104, 27, 133)
HSLhsl(284, 66%, 31%)
HSVhsv(284, 80%, 52%)
CMYKcmyk(21.8%, 79.7%, 0%, 47.8%)
CIE-LABlab(27.90, 49.41, -42.88)
CIE-LCHlch(27.90, 65.42, 319.05°)
OKLaboklab(40.06% 0.1192 -0.1211)
OKLCHoklch(40.06% 0.17 314.6)
XYZxyz(10.3338, 5.4207, 22.6877)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B85 #38851B
analogous
#331B85 #681B85 #851B6D
triadic
#681B85 #85681B #1B8568
tetradic
#681B85 #85331B #38851B #1B6D85
square
#681B85 #85331B #38851B #1B6D85
split-complementary
#681B85 #6D851B #1B8533
monochromatic
#18061F #401152 #681B85 #9025B8 #AF42D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##681B85#FFFFFF#000000##FFFFFF
##681B851.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)
#003E88
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#653450
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681b85;
/* rgb */ color: rgb(104, 27, 133);
/* oklch */ color: oklch(40.1% 0.170 314.6);
Tailwind
colors: {
  custom: {
    50: '#9761a9',
    500: '#681b85',
    950: '#000000',
  },
}
SCSS
$custom: #681b85;
$custom-light: #9761a9;
$custom-dark: #000000;
JSON
{
  "hex": "#681b85",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 283.585,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.16994,
    "h": 314.6
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#681B85
secondary
#63B844
accent
#E93F6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B85

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

Preview Lab → · Contrast checker → · Palette generator →

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