#681B94#681B94

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

Color values

HEX#681B94
RGBrgb(104, 27, 148)
HSLhsl(278, 69%, 34%)
HSVhsv(278, 82%, 58%)
CMYKcmyk(29.7%, 81.8%, 0%, 42%)
CIE-LABlab(29.07, 52.64, -50.29)
CIE-LCHlch(29.07, 72.80, 316.31°)
OKLaboklab(41.25% 0.1159 -0.1429)
OKLCHoklch(41.25% 0.184 309.1)
XYZxyz(11.4451, 5.8653, 28.5404)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681B94 #47941B
analogous
#2C1B94 #681B94 #941B84
triadic
#681B94 #94681B #1B9468
tetradic
#681B94 #942C1B #47941B #1B8494
square
#681B94 #942C1B #47941B #1B8494
split-complementary
#681B94 #84941B #1B942C
monochromatic
#1F082C #441260 #681B94 #8C24C8 #A94BDE

Accessibility & contrast

On white

9.66
#681B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#681B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681B94
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681B94#FFFFFF#000000##FFFFFF
##681B941.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681b94;
/* rgb */ color: rgb(104, 27, 148);
/* oklch */ color: oklch(41.2% 0.184 309.1);
Tailwind
colors: {
  custom: {
    50: '#9862b4',
    500: '#681b94',
    950: '#000000',
  },
}
SCSS
$custom: #681b94;
$custom-light: #9862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#681b94",
  "rgb": {
    "r": 104,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 278.182,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.184,
    "h": 309.1
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#681B94
secondary
#75C04B
accent
#EC3C7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681B94

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

Preview Lab → · Contrast checker → · Palette generator →

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