#681B88#681B88

#681B88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 313.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#681B88
RGBrgb(104, 27, 136)
HSLhsl(282, 67%, 32%)
HSVhsv(282, 80%, 53%)
CMYKcmyk(23.5%, 80.1%, 0%, 46.7%)
CIE-LABlab(28.13, 50.04, -44.39)
CIE-LCHlch(28.13, 66.89, 318.43°)
OKLaboklab(40.29% 0.1187 -0.1255)
OKLCHoklch(40.29% 0.173 313.4)
XYZxyz(10.5440, 5.5048, 23.7949)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B88 #3B881B
analogous
#311B88 #681B88 #881B72
triadic
#681B88 #88681B #1B8868
tetradic
#681B88 #88311B #3B881B #1B7288
square
#681B88 #88311B #3B881B #1B7288
split-complementary
#681B88 #72881B #1B8831
monochromatic
#1A0722 #411155 #681B88 #8F25BB #AE44DA

Accessibility & contrast

On white

10.00
#681B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#681B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B88
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B88#FFFFFF#000000##FFFFFF
##681B881.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#0D4486
Tritanopia (blue-blind)
#653551
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681b88;
/* rgb */ color: rgb(104, 27, 136);
/* oklch */ color: oklch(40.3% 0.173 313.4);
Tailwind
colors: {
  custom: {
    50: '#9761ab',
    500: '#681b88',
    950: '#000000',
  },
}
SCSS
$custom: #681b88;
$custom-light: #9761ab;
$custom-dark: #000000;
JSON
{
  "hex": "#681b88",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 282.385,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.17274,
    "h": 313.4
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#681B88
secondary
#67BB44
accent
#EA3E70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681B88

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

Preview Lab → · Contrast checker → · Palette generator →

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