#681D99#681D99

#681D99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.187 H 307.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#681D99
RGBrgb(104, 29, 153)
HSLhsl(276, 68%, 36%)
HSVhsv(276, 81%, 60%)
CMYKcmyk(32%, 81%, 0%, 40%)
CIE-LABlab(29.72, 53.05, -52.30)
CIE-LCHlch(29.72, 74.50, 315.41°)
OKLaboklab(41.83% 0.113 -0.1488)
OKLCHoklch(41.83% 0.187 307.2)
XYZxyz(11.8968, 6.1218, 30.6857)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D99 #4E991D
analogous
#2A1D99 #681D99 #991D8C
triadic
#681D99 #99681D #1D9968
tetradic
#681D99 #992A1D #4E991D #1D8C99
square
#681D99 #992A1D #4E991D #1D8C99
split-complementary
#681D99 #8C991D #1D992A
monochromatic
#220932 #451366 #681D99 #8B27CC #A752DE

Accessibility & contrast

On white

9.44
#681D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#681D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D99
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D99#FFFFFF#000000##FFFFFF
##681D991.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#603E5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #681d99;
/* rgb */ color: rgb(104, 29, 153);
/* oklch */ color: oklch(41.8% 0.187 307.2);
Tailwind
colors: {
  custom: {
    50: '#9863b8',
    500: '#681d99',
    950: '#000000',
  },
}
SCSS
$custom: #681d99;
$custom-light: #9863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681d99",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 276.29,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.18688,
    "h": 307.2
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#681D99
secondary
#7DC151
accent
#EB3D82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681D99

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

Preview Lab → · Contrast checker → · Palette generator →

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