#681D81#681D81

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

Color values

HEX#681D81
RGBrgb(104, 29, 129)
HSLhsl(285, 63%, 31%)
HSVhsv(285, 78%, 51%)
CMYKcmyk(19.4%, 77.5%, 0%, 49.4%)
CIE-LABlab(27.86, 47.83, -40.43)
CIE-LCHlch(27.86, 62.63, 319.80°)
OKLaboklab(39.94% 0.118 -0.1139)
OKLCHoklch(39.94% 0.164 316)
XYZxyz(10.1101, 5.4072, 21.2758)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D81 #36811D
analogous
#361D81 #681D81 #811D68
triadic
#681D81 #81681D #1D8168
tetradic
#681D81 #81361D #36811D #1D6881
square
#681D81 #81361D #36811D #1D6881
split-complementary
#681D81 #68811D #1D8136
monochromatic
#17071D #40124F #681D81 #9028B3 #B144D5

Accessibility & contrast

On white

10.09
#681D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681D81
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D81#FFFFFF#000000##FFFFFF
##681D811.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#66334E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681d81;
/* rgb */ color: rgb(104, 29, 129);
/* oklch */ color: oklch(39.9% 0.164 316.0);
Tailwind
colors: {
  custom: {
    50: '#9762a6',
    500: '#681d81',
    950: '#000000',
  },
}
SCSS
$custom: #681d81;
$custom-light: #9762a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681d81",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 285,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.16404,
    "h": 316
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#681D81
secondary
#61B446
accent
#E6416B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681D81

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

Preview Lab → · Contrast checker → · Palette generator →

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