#681781#681781

#681781 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.170 H 316.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#681781
RGBrgb(104, 23, 129)
HSLhsl(286, 70%, 30%)
HSVhsv(286, 82%, 51%)
CMYKcmyk(19.4%, 82.2%, 0%, 49.4%)
CIE-LABlab(27.13, 49.94, -41.61)
CIE-LCHlch(27.13, 65.00, 320.20°)
OKLaboklab(39.43% 0.1234 -0.1173)
OKLCHoklch(39.43% 0.17 316.4)
XYZxyz(9.9772, 5.1412, 21.2314)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681781 #308117
analogous
#331781 #681781 #811765
triadic
#681781 #816817 #178168
tetradic
#681781 #813317 #308117 #176581
square
#681781 #813317 #308117 #176581
split-complementary
#681781 #658117 #178133
monochromatic
#15051A #3E0E4D #681781 #9220B5 #B537DB

Accessibility & contrast

On white

10.35
#681781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#681781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681781
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681781#FFFFFF#000000##FFFFFF
##6817811.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#16427F
Tritanopia (blue-blind)
#66304D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681781;
/* rgb */ color: rgb(104, 23, 129);
/* oklch */ color: oklch(39.4% 0.170 316.4);
Tailwind
colors: {
  custom: {
    50: '#975fa6',
    500: '#681781',
    950: '#000000',
  },
}
SCSS
$custom: #681781;
$custom-light: #975fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#681781",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 285.849,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.17028,
    "h": 316.4
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#681781
secondary
#5AB53E
accent
#ED3B65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681781

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

Preview Lab → · Contrast checker → · Palette generator →

#681781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva