#681E8F#681E8F

#681E8F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.176 H 310.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#681E8F
RGBrgb(104, 30, 143)
HSLhsl(279, 65%, 34%)
HSVhsv(279, 79%, 56%)
CMYKcmyk(27.3%, 79%, 0%, 43.9%)
CIE-LABlab(29.04, 50.47, -47.25)
CIE-LCHlch(29.04, 69.13, 316.89°)
OKLaboklab(41.11% 0.1146 -0.134)
OKLCHoklch(41.11% 0.176 310.5)
XYZxyz(11.1302, 5.8550, 26.5251)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681E8F #458F1E
analogous
#301E8F #681E8F #8F1E7E
triadic
#681E8F #8F681E #1E8F68
tetradic
#681E8F #8F301E #458F1E #1E7E8F
square
#681E8F #8F301E #458F1E #1E7E8F
split-complementary
#681E8F #7E8F1E #1E8F30
monochromatic
#1E092A #43135C #681E8F #8D29C2 #A94EDA

Accessibility & contrast

On white

9.67
#681E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681E8F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681E8F#FFFFFF#000000##FFFFFF
##681E8F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#633A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681e8f;
/* rgb */ color: rgb(104, 30, 143);
/* oklch */ color: oklch(41.1% 0.176 310.5);
Tailwind
colors: {
  custom: {
    50: '#9863b1',
    500: '#681e8f',
    950: '#000000',
  },
}
SCSS
$custom: #681e8f;
$custom-light: #9863b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681e8f",
  "rgb": {
    "r": 104,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 279.292,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.17628,
    "h": 310.5
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#681E8F
secondary
#73BC4C
accent
#E8407A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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