#681B99#681B99

#681B99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.189 H 307.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#681B99
RGBrgb(104, 27, 153)
HSLhsl(277, 70%, 35%)
HSVhsv(277, 82%, 60%)
CMYKcmyk(32%, 82.4%, 0%, 40%)
CIE-LABlab(29.48, 53.74, -52.69)
CIE-LCHlch(29.48, 75.26, 315.57°)
OKLaboklab(41.66% 0.1146 -0.1499)
OKLCHoklch(41.66% 0.189 307.4)
XYZxyz(11.8494, 6.0270, 30.6699)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B99 #4C991B
analogous
#291B99 #681B99 #991B8B
triadic
#681B99 #99681B #1B9968
tetradic
#681B99 #99291B #4C991B #1B8B99
square
#681B99 #99291B #4C991B #1B8B99
split-complementary
#681B99 #8B991B #1B9929
monochromatic
#210931 #451265 #681B99 #8B24CD #A74FE0

Accessibility & contrast

On white

9.52
#681B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#681B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B99
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B99#FFFFFF#000000##FFFFFF
##681B991.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#603D5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681b99;
/* rgb */ color: rgb(104, 27, 153);
/* oklch */ color: oklch(41.7% 0.189 307.4);
Tailwind
colors: {
  custom: {
    50: '#9862b8',
    500: '#681b99',
    950: '#000000',
  },
}
SCSS
$custom: #681b99;
$custom-light: #9862b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681b99",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 276.667,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.18871,
    "h": 307.4
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#681B99
secondary
#7BC24E
accent
#ED3B80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B99

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

Preview Lab → · Contrast checker → · Palette generator →

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