#681D94#681D94

#681D94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 308.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#681D94
RGBrgb(104, 29, 148)
HSLhsl(278, 67%, 35%)
HSVhsv(278, 80%, 58%)
CMYKcmyk(29.7%, 80.4%, 0%, 42%)
CIE-LABlab(29.31, 51.94, -49.90)
CIE-LCHlch(29.31, 72.02, 316.15°)
OKLaboklab(41.42% 0.1143 -0.1417)
OKLCHoklch(41.42% 0.182 308.9)
XYZxyz(11.4925, 5.9601, 28.5562)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681D94 #49941D
analogous
#2C1D94 #681D94 #941D85
triadic
#681D94 #94681D #1D9468
tetradic
#681D94 #942C1D #49941D #1D8594
square
#681D94 #942C1D #49941D #1D8594
split-complementary
#681D94 #85941D #1D942C
monochromatic
#20092E #441361 #681D94 #8C27C7 #A84FDC

Accessibility & contrast

On white

9.58
#681D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#681D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681D94
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681D94#FFFFFF#000000##FFFFFF
##681D941.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#613B59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681d94;
/* rgb */ color: rgb(104, 29, 148);
/* oklch */ color: oklch(41.4% 0.182 308.9);
Tailwind
colors: {
  custom: {
    50: '#9863b4',
    500: '#681d94',
    950: '#000000',
  },
}
SCSS
$custom: #681d94;
$custom-light: #9863b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681d94",
  "rgb": {
    "r": 104,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 277.815,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.18208,
    "h": 308.9
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#681D94
secondary
#78BF4E
accent
#EA3E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681D94

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

Preview Lab → · Contrast checker → · Palette generator →

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