#681A94#681A94

#681A94 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.185 H 309.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#681A94
RGBrgb(104, 26, 148)
HSLhsl(278, 70%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(29.7%, 82.4%, 0%, 42%)
CIE-LABlab(28.95, 52.97, -50.48)
CIE-LCHlch(28.95, 73.17, 316.38°)
OKLaboklab(41.17% 0.1167 -0.1434)
OKLCHoklch(41.17% 0.185 309.1)
XYZxyz(11.4225, 5.8202, 28.5329)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681A94 #46941A
analogous
#2B1A94 #681A94 #941A83
triadic
#681A94 #94681A #1A9468
tetradic
#681A94 #942B1A #46941A #1A8394
square
#681A94 #942B1A #46941A #1A8394
split-complementary
#681A94 #83941A #1A942B
monochromatic
#1F082C #431160 #681A94 #8D23C8 #A949DF

Accessibility & contrast

On white

9.70
#681A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#681A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681A94
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681A94#FFFFFF#000000##FFFFFF
##681A941.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#613A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681a94;
/* rgb */ color: rgb(104, 26, 148);
/* oklch */ color: oklch(41.2% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#9862b4',
    500: '#681a94',
    950: '#000000',
  },
}
SCSS
$custom: #681a94;
$custom-light: #9862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681a94",
  "rgb": {
    "r": 104,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 278.361,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.18491,
    "h": 309.1
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#681A94
secondary
#74C149
accent
#ED3B7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681A94

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

Preview Lab → · Contrast checker → · Palette generator →

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