#681C94#681C94

#681C94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.183 H 309.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#681C94
RGBrgb(104, 28, 148)
HSLhsl(278, 68%, 35%)
HSVhsv(278, 81%, 58%)
CMYKcmyk(29.7%, 81.1%, 0%, 42%)
CIE-LABlab(29.19, 52.29, -50.10)
CIE-LCHlch(29.19, 72.42, 316.23°)
OKLaboklab(41.33% 0.1151 -0.1423)
OKLCHoklch(41.33% 0.183 309)
XYZxyz(11.4684, 5.9119, 28.5482)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681C94 #48941C
analogous
#2C1C94 #681C94 #941C84
triadic
#681C94 #94681C #1C9468
tetradic
#681C94 #942C1C #48941C #1C8494
square
#681C94 #942C1C #48941C #1C8494
split-complementary
#681C94 #84941C #1C942C
monochromatic
#20092D #441261 #681C94 #8C26C7 #A84DDD

Accessibility & contrast

On white

9.62
#681C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681C94
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681C94#FFFFFF#000000##FFFFFF
##681C941.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681c94;
/* rgb */ color: rgb(104, 28, 148);
/* oklch */ color: oklch(41.3% 0.183 309.0);
Tailwind
colors: {
  custom: {
    50: '#9862b4',
    500: '#681c94',
    950: '#000000',
  },
}
SCSS
$custom: #681c94;
$custom-light: #9862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681c94",
  "rgb": {
    "r": 104,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 278,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.18305,
    "h": 309
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#681C94
secondary
#76C04C
accent
#EB3D7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681C94

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

Preview Lab → · Contrast checker → · Palette generator →

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