#681A8E#681A8E

#681A8E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.179 H 311.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#681A8E
RGBrgb(104, 26, 142)
HSLhsl(280, 69%, 33%)
HSVhsv(280, 82%, 56%)
CMYKcmyk(26.8%, 81.7%, 0%, 44.3%)
CIE-LABlab(28.47, 51.67, -47.56)
CIE-LCHlch(28.47, 70.23, 317.38°)
OKLaboklab(40.68% 0.1182 -0.1348)
OKLCHoklch(40.68% 0.179 311.2)
XYZxyz(10.9599, 5.6351, 26.0963)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A8E #408E1A
analogous
#2E1A8E #681A8E #8E1A7A
triadic
#681A8E #8E681A #1A8E68
tetradic
#681A8E #8E2E1A #408E1A #1A7A8E
square
#681A8E #8E2E1A #408E1A #1A7A8E
split-complementary
#681A8E #7A8E1A #1A8E2E
monochromatic
#1C0727 #42115A #681A8E #8E23C2 #AB45DD

Accessibility & contrast

On white

9.87
#681A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#681A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A8E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A8E#FFFFFF#000000##FFFFFF
##681A8E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#633755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681a8e;
/* rgb */ color: rgb(104, 26, 142);
/* oklch */ color: oklch(40.7% 0.179 311.2);
Tailwind
colors: {
  custom: {
    50: '#9861b0',
    500: '#681a8e',
    950: '#000000',
  },
}
SCSS
$custom: #681a8e;
$custom-light: #9861b0;
$custom-dark: #000000;
JSON
{
  "hex": "#681a8e",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 280.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.17931,
    "h": 311.2
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#681A8E
secondary
#6DBE45
accent
#EC3C76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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