#681C81#681C81

#681C81 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.165 H 316.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#681C81
RGBrgb(104, 28, 129)
HSLhsl(285, 64%, 31%)
HSVhsv(285, 78%, 51%)
CMYKcmyk(19.4%, 78.3%, 0%, 49.4%)
CIE-LABlab(27.73, 48.21, -40.64)
CIE-LCHlch(27.73, 63.05, 319.87°)
OKLaboklab(39.85% 0.119 -0.1145)
OKLCHoklch(39.85% 0.165 316.1)
XYZxyz(10.0860, 5.3589, 21.2677)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C81 #35811C
analogous
#361C81 #681C81 #811C67
triadic
#681C81 #81681C #1C8168
tetradic
#681C81 #81361C #35811C #1C6781
square
#681C81 #81361C #35811C #1C6781
split-complementary
#681C81 #67811C #1C8136
monochromatic
#17061C #3F114F #681C81 #9127B3 #B142D6

Accessibility & contrast

On white

10.14
#681C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#681C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C81
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C81#FFFFFF#000000##FFFFFF
##681C811.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#66324E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681c81;
/* rgb */ color: rgb(104, 28, 129);
/* oklch */ color: oklch(39.9% 0.165 316.1);
Tailwind
colors: {
  custom: {
    50: '#9761a6',
    500: '#681c81',
    950: '#000000',
  },
}
SCSS
$custom: #681c81;
$custom-light: #9761a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681c81",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 285.149,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.16515,
    "h": 316.1
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#681C81
secondary
#60B444
accent
#E7406A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681C81

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

Preview Lab → · Contrast checker → · Palette generator →

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