#681F8E#681F8E

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

Color values

HEX#681F8E
RGBrgb(104, 31, 142)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(26.8%, 78.2%, 0%, 44.3%)
CIE-LABlab(29.10, 49.87, -46.54)
CIE-LCHlch(29.10, 68.21, 316.98°)
OKLaboklab(41.12% 0.1139 -0.1319)
OKLCHoklch(41.12% 0.174 310.8)
XYZxyz(11.0804, 5.8763, 26.1365)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F8E #458E1F
analogous
#301F8E #681F8E #8E1F7D
triadic
#681F8E #8E681F #1F8E68
tetradic
#681F8E #8E301F #458E1F #1F7D8E
square
#681F8E #8E301F #458E1F #1F7D8E
split-complementary
#681F8E #7D8E1F #1F8E30
monochromatic
#1E092A #43145C #681F8E #8D2AC0 #A94FD9

Accessibility & contrast

On white

9.65
#681F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F8E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F8E#FFFFFF#000000##FFFFFF
##681F8E1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#633A56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #681f8e;
/* rgb */ color: rgb(104, 31, 142);
/* oklch */ color: oklch(41.1% 0.174 310.8);
Tailwind
colors: {
  custom: {
    50: '#9763b0',
    500: '#681f8e',
    950: '#000000',
  },
}
SCSS
$custom: #681f8e;
$custom-light: #9763b0;
$custom-dark: #000000;
JSON
{
  "hex": "#681f8e",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 279.459,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.17426,
    "h": 310.8
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#681F8E
secondary
#73BB4D
accent
#E7417A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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