#681B89#681B89

#681B89 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.174 H 313.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#681B89
RGBrgb(104, 27, 137)
HSLhsl(282, 67%, 32%)
HSVhsv(282, 80%, 54%)
CMYKcmyk(24.1%, 80.3%, 0%, 46.3%)
CIE-LABlab(28.20, 50.26, -44.89)
CIE-LCHlch(28.20, 67.38, 318.23°)
OKLaboklab(40.37% 0.1185 -0.127)
OKLCHoklch(40.37% 0.174 313)
XYZxyz(10.6154, 5.5334, 24.1709)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B89 #3C891B
analogous
#311B89 #681B89 #891B73
triadic
#681B89 #89681B #1B8968
tetradic
#681B89 #89311B #3C891B #1B7389
square
#681B89 #89311B #3C891B #1B7389
split-complementary
#681B89 #73891B #1B8931
monochromatic
#1A0723 #411156 #681B89 #8F25BC #AD44DA

Accessibility & contrast

On white

9.97
#681B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B89
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B89#FFFFFF#000000##FFFFFF
##681B891.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#643652
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681b89;
/* rgb */ color: rgb(104, 27, 137);
/* oklch */ color: oklch(40.4% 0.174 313.0);
Tailwind
colors: {
  custom: {
    50: '#9761ac',
    500: '#681b89',
    950: '#000000',
  },
}
SCSS
$custom: #681b89;
$custom-light: #9761ac;
$custom-dark: #000000;
JSON
{
  "hex": "#681b89",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 282,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.17367,
    "h": 313
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#681B89
secondary
#68BC44
accent
#EA3E71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B89

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

Preview Lab → · Contrast checker → · Palette generator →

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