#681AB1#681AB1

#681AB1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.212 H 300.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#681AB1
RGBrgb(104, 26, 177)
HSLhsl(271, 74%, 40%)
HSVhsv(271, 85%, 69%)
CMYKcmyk(41.2%, 85.3%, 0%, 30.6%)
CIE-LABlab(31.48, 59.49, -63.93)
CIE-LCHlch(31.48, 87.33, 312.94°)
OKLaboklab(43.69% 0.1076 -0.1829)
OKLCHoklch(43.69% 0.212 300.5)
XYZxyz(14.0121, 6.8560, 42.1716)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681AB1 #63B11A
analogous
#1C1AB1 #681AB1 #B11AAF
triadic
#681AB1 #B1681A #1AB168
tetradic
#681AB1 #B11C1A #63B11A #1AAFB1
square
#681AB1 #B11C1A #63B11A #1AAFB1
split-complementary
#681AB1 #AFB11A #1AB11C
monochromatic
#290A46 #49127C #681AB1 #8729E0 #A55EE7

Accessibility & contrast

On white

8.86
#681AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#681AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681AB1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681AB1#FFFFFF#000000##FFFFFF
##681AB11.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#574769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #681ab1;
/* rgb */ color: rgb(104, 26, 177);
/* oklch */ color: oklch(43.7% 0.212 300.5);
Tailwind
colors: {
  custom: {
    50: '#9b63c9',
    500: '#681ab1',
    950: '#000000',
  },
}
SCSS
$custom: #681ab1;
$custom-light: #9b63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#681ab1",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 177
  },
  "hsl": {
    "h": 270.993,
    "s": 74.384,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.21221,
    "h": 300.5
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#681AB1
secondary
#92CB5B
accent
#F13791
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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