#681C93#681C93

#681C93 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.182 H 309.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#681C93
RGBrgb(104, 28, 147)
HSLhsl(278, 68%, 34%)
HSVhsv(278, 81%, 58%)
CMYKcmyk(29.3%, 81%, 0%, 42.4%)
CIE-LABlab(29.11, 52.07, -49.61)
CIE-LCHlch(29.11, 71.92, 316.39°)
OKLaboklab(41.25% 0.1154 -0.1409)
OKLCHoklch(41.25% 0.182 309.3)
XYZxyz(11.3896, 5.8804, 28.1331)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C93 #47931C
analogous
#2C1C93 #681C93 #931C83
triadic
#681C93 #93681C #1C9368
tetradic
#681C93 #932C1C #47931C #1C8393
square
#681C93 #932C1C #47931C #1C8393
split-complementary
#681C93 #83931C #1C932C
monochromatic
#1F082C #441260 #681C93 #8C26C6 #A94CDD

Accessibility & contrast

On white

9.65
#681C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#681C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681C93
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C93#FFFFFF#000000##FFFFFF
##681C931.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#613B58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681c93;
/* rgb */ color: rgb(104, 28, 147);
/* oklch */ color: oklch(41.2% 0.182 309.3);
Tailwind
colors: {
  custom: {
    50: '#9862b3',
    500: '#681c93',
    950: '#000000',
  },
}
SCSS
$custom: #681c93;
$custom-light: #9862b3;
$custom-dark: #000000;
JSON
{
  "hex": "#681c93",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 278.319,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.18211,
    "h": 309.3
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#681C93
secondary
#75BF4C
accent
#EB3D7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C93

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

Preview Lab → · Contrast checker → · Palette generator →

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