#681AA1#681AA1

#681AA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.197 H 305.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#681AA1
RGBrgb(104, 26, 161)
HSLhsl(275, 72%, 37%)
HSVhsv(275, 84%, 63%)
CMYKcmyk(35.4%, 83.9%, 0%, 36.9%)
CIE-LABlab(30.05, 55.86, -56.64)
CIE-LCHlch(30.05, 79.55, 314.60°)
OKLaboklab(42.27% 0.113 -0.1615)
OKLCHoklch(42.27% 0.197 305)
XYZxyz(12.5099, 6.2551, 34.2596)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681AA1 #53A11A
analogous
#251AA1 #681AA1 #A11A97
triadic
#681AA1 #A1681A #1AA168
tetradic
#681AA1 #A1251A #53A11A #1A97A1
square
#681AA1 #A1251A #53A11A #1A97A1
split-complementary
#681AA1 #97A11A #1AA125
monochromatic
#240938 #46116C #681AA1 #8A23D6 #A652E3

Accessibility & contrast

On white

9.33
#681AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#681AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681AA1
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681AA1#FFFFFF#000000##FFFFFF
##681AA11.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5D4060
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #681aa1;
/* rgb */ color: rgb(104, 26, 161);
/* oklch */ color: oklch(42.3% 0.197 305.0);
Tailwind
colors: {
  custom: {
    50: '#9962be',
    500: '#681aa1',
    950: '#000000',
  },
}
SCSS
$custom: #681aa1;
$custom-light: #9962be;
$custom-dark: #000000;
JSON
{
  "hex": "#681aa1",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 274.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.1971,
    "h": 305
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#681AA1
secondary
#82C651
accent
#EF3986
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #681AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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