#681BB1#681BB1

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

Color values

HEX#681BB1
RGBrgb(104, 27, 177)
HSLhsl(271, 74%, 40%)
HSVhsv(271, 85%, 69%)
CMYKcmyk(41.2%, 84.7%, 0%, 30.6%)
CIE-LABlab(31.58, 59.19, -63.76)
CIE-LCHlch(31.58, 87.00, 312.87°)
OKLaboklab(43.76% 0.107 -0.1824)
OKLCHoklch(43.76% 0.211 300.4)
XYZxyz(14.0347, 6.9011, 42.1791)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681BB1 #64B11B
analogous
#1D1BB1 #681BB1 #B11BAF
triadic
#681BB1 #B1681B #1BB168
tetradic
#681BB1 #B11D1B #64B11B #1BAFB1
square
#681BB1 #B11D1B #64B11B #1BAFB1
split-complementary
#681BB1 #AFB11B #1BB11D
monochromatic
#2A0B47 #49137C #681BB1 #872BDF #A560E7

Accessibility & contrast

On white

8.82
#681BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#681BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681BB1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681BB1#FFFFFF#000000##FFFFFF
##681BB11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681bb1;
/* rgb */ color: rgb(104, 27, 177);
/* oklch */ color: oklch(43.8% 0.211 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b64c9',
    500: '#681bb1',
    950: '#000000',
  },
}
SCSS
$custom: #681bb1;
$custom-light: #9b64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#681bb1",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 177
  },
  "hsl": {
    "h": 270.8,
    "s": 73.529,
    "l": 40
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.21148,
    "h": 300.4
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#681BB1
secondary
#92CB5D
accent
#F03891
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #681BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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