#681CB1#681CB1

#681CB1 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.211 H 300.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#681CB1
RGBrgb(104, 28, 177)
HSLhsl(271, 73%, 40%)
HSVhsv(271, 84%, 69%)
CMYKcmyk(41.2%, 84.2%, 0%, 30.6%)
CIE-LABlab(31.69, 58.87, -63.58)
CIE-LCHlch(31.69, 86.65, 312.80°)
OKLaboklab(43.84% 0.1064 -0.1819)
OKLCHoklch(43.84% 0.211 300.3)
XYZxyz(14.0580, 6.9477, 42.1869)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681CB1 #65B11C
analogous
#1D1CB1 #681CB1 #B11CAF
triadic
#681CB1 #B1681C #1CB168
tetradic
#681CB1 #B11D1C #65B11C #1CAFB1
square
#681CB1 #B11D1C #65B11C #1CAFB1
split-complementary
#681CB1 #AFB11C #1CB11D
monochromatic
#2A0B47 #49147C #681CB1 #872CDE #A561E6

Accessibility & contrast

On white

8.79
#681CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#681CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681CB1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681CB1#FFFFFF#000000##FFFFFF
##681CB11.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681cb1;
/* rgb */ color: rgb(104, 28, 177);
/* oklch */ color: oklch(43.8% 0.211 300.3);
Tailwind
colors: {
  custom: {
    50: '#9b64c9',
    500: '#681cb1',
    950: '#000000',
  },
}
SCSS
$custom: #681cb1;
$custom-light: #9b64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#681cb1",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 177
  },
  "hsl": {
    "h": 270.604,
    "s": 72.683,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.21073,
    "h": 300.3
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#681CB1
secondary
#93CB5E
accent
#EF3892
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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