#681E8A#681E8A

#681E8A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.171 H 312.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#681E8A
RGBrgb(104, 30, 138)
HSLhsl(281, 64%, 33%)
HSVhsv(281, 78%, 54%)
CMYKcmyk(24.6%, 78.3%, 0%, 45.9%)
CIE-LABlab(28.66, 49.37, -44.77)
CIE-LCHlch(28.66, 66.65, 317.80°)
OKLaboklab(40.72% 0.1156 -0.1267)
OKLCHoklch(40.72% 0.171 312.4)
XYZxyz(10.7598, 5.7069, 24.5746)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E8A #408A1E
analogous
#321E8A #681E8A #8A1E76
triadic
#681E8A #8A681E #1E8A68
tetradic
#681E8A #8A321E #408A1E #1E768A
square
#681E8A #8A321E #408A1E #1E768A
split-complementary
#681E8A #768A1E #1E8A32
monochromatic
#1C0825 #421358 #681E8A #8E29BC #AB4BD8

Accessibility & contrast

On white

9.81
#681E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#681E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E8A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E8A#FFFFFF#000000##FFFFFF
##681E8A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#0D4588
Tritanopia (blue-blind)
#643753
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681e8a;
/* rgb */ color: rgb(104, 30, 138);
/* oklch */ color: oklch(40.7% 0.171 312.4);
Tailwind
colors: {
  custom: {
    50: '#9763ad',
    500: '#681e8a',
    950: '#000000',
  },
}
SCSS
$custom: #681e8a;
$custom-light: #9763ad;
$custom-dark: #000000;
JSON
{
  "hex": "#681e8a",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 281.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.17148,
    "h": 312.4
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#681E8A
secondary
#6DBA4A
accent
#E74175
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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