#681A85#681A85

#681A85 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 314.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#681A85
RGBrgb(104, 26, 133)
HSLhsl(284, 67%, 31%)
HSVhsv(284, 80%, 52%)
CMYKcmyk(21.8%, 80.5%, 0%, 47.8%)
CIE-LABlab(27.78, 49.76, -43.07)
CIE-LCHlch(27.78, 65.82, 319.12°)
OKLaboklab(39.98% 0.1201 -0.1217)
OKLCHoklch(39.98% 0.171 314.6)
XYZxyz(10.3112, 5.3757, 22.6802)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A85 #37851A
analogous
#321A85 #681A85 #851A6C
triadic
#681A85 #85681A #1A8568
tetradic
#681A85 #85321A #37851A #1A6C85
square
#681A85 #85321A #37851A #1A6C85
split-complementary
#681A85 #6C851A #1A8532
monochromatic
#18061F #401052 #681A85 #9024B8 #B040DA

Accessibility & contrast

On white

10.12
#681A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681A85
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A85#FFFFFF#000000##FFFFFF
##681A851.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#124383
Tritanopia (blue-blind)
#65334F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681a85;
/* rgb */ color: rgb(104, 26, 133);
/* oklch */ color: oklch(40.0% 0.171 314.6);
Tailwind
colors: {
  custom: {
    50: '#9761a9',
    500: '#681a85',
    950: '#000000',
  },
}
SCSS
$custom: #681a85;
$custom-light: #9761a9;
$custom-dark: #000000;
JSON
{
  "hex": "#681a85",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 283.738,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.17097,
    "h": 314.6
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#681A85
secondary
#62B842
accent
#EA3E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #681A85

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

Preview Lab → · Contrast checker → · Palette generator →

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