#681E94#681E94

#681E94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 308.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#681E94
RGBrgb(104, 30, 148)
HSLhsl(278, 66%, 35%)
HSVhsv(278, 80%, 58%)
CMYKcmyk(29.7%, 79.7%, 0%, 42%)
CIE-LABlab(29.44, 51.57, -49.69)
CIE-LCHlch(29.44, 71.62, 316.06°)
OKLaboklab(41.51% 0.1135 -0.1411)
OKLCHoklch(41.51% 0.181 308.8)
XYZxyz(11.5174, 6.0099, 28.5645)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E94 #4A941E
analogous
#2D1E94 #681E94 #941E85
triadic
#681E94 #94681E #1E9468
tetradic
#681E94 #942D1E #4A941E #1E8594
square
#681E94 #942D1E #4A941E #1E8594
split-complementary
#681E94 #85941E #1E942D
monochromatic
#20092E #441461 #681E94 #8C28C7 #A851DC

Accessibility & contrast

On white

9.54
#681E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#681E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681E94
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E94#FFFFFF#000000##FFFFFF
##681E941.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681e94;
/* rgb */ color: rgb(104, 30, 148);
/* oklch */ color: oklch(41.5% 0.181 308.8);
Tailwind
colors: {
  custom: {
    50: '#9863b4',
    500: '#681e94',
    950: '#000000',
  },
}
SCSS
$custom: #681e94;
$custom-light: #9863b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681e94",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 277.627,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.1811,
    "h": 308.8
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#681E94
secondary
#79BF4F
accent
#E93F7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E94

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

Preview Lab → · Contrast checker → · Palette generator →

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