#681F99#681F99

#681F99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 307.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#681F99
RGBrgb(104, 31, 153)
HSLhsl(276, 66%, 36%)
HSVhsv(276, 80%, 60%)
CMYKcmyk(32%, 79.7%, 0%, 40%)
CIE-LABlab(29.97, 52.33, -51.89)
CIE-LCHlch(29.97, 73.70, 315.24°)
OKLaboklab(42% 0.1114 -0.1476)
OKLCHoklch(42% 0.185 307)
XYZxyz(11.9474, 6.2231, 30.7026)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F99 #50991F
analogous
#2B1F99 #681F99 #991F8D
triadic
#681F99 #99681F #1F9968
tetradic
#681F99 #992B1F #50991F #1F8D99
square
#681F99 #992B1F #50991F #1F8D99
split-complementary
#681F99 #8D991F #1F992B
monochromatic
#230A33 #451566 #681F99 #8B29CC #A656DD

Accessibility & contrast

On white

9.36
#681F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#681F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F99
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F99#FFFFFF#000000##FFFFFF
##681F991.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f99;
/* rgb */ color: rgb(104, 31, 153);
/* oklch */ color: oklch(42.0% 0.185 307.0);
Tailwind
colors: {
  custom: {
    50: '#9864b8',
    500: '#681f99',
    950: '#000000',
  },
}
SCSS
$custom: #681f99;
$custom-light: #9864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#681f99",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 275.902,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.18494,
    "h": 307
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#681F99
secondary
#7FC054
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F99

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

Preview Lab → · Contrast checker → · Palette generator →

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