#681F6B#681F6B

#681F6B is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 326.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#681F6B
RGBrgb(104, 31, 107)
HSLhsl(298, 55%, 27%)
HSVhsv(298, 71%, 42%)
CMYKcmyk(2.8%, 71%, 0%, 58%)
CIE-LABlab(26.69, 42.63, -28.30)
CIE-LCHlch(26.69, 51.16, 326.42°)
OKLaboklab(38.64% 0.1173 -0.0785)
OKLCHoklch(38.64% 0.141 326.2)
XYZxyz(8.8526, 4.9851, 14.4030)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F6B #226B1F
analogous
#421F6B #681F6B #6B1F48
triadic
#681F6B #6B681F #1F6B68
tetradic
#681F6B #6B421F #226B1F #1F486B
square
#681F6B #6B421F #226B1F #1F486B
split-complementary
#681F6B #486B1F #1F6B42
monochromatic
#170718 #3A113C #681F6B #962D9A #C23DC7

Accessibility & contrast

On white

10.52
#681F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#681F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F6B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F6B#FFFFFF#000000##FFFFFF
##681F6B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396D
Deuteranopia (green-blind)
#304269
Tritanopia (blue-blind)
#6B2A42
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #681f6b;
/* rgb */ color: rgb(104, 31, 107);
/* oklch */ color: oklch(38.6% 0.141 326.2);
Tailwind
colors: {
  custom: {
    50: '#966296',
    500: '#681f6b',
    950: '#000000',
  },
}
SCSS
$custom: #681f6b;
$custom-light: #966296;
$custom-dark: #000000;
JSON
{
  "hex": "#681f6b",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 297.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.14117,
    "h": 326.2
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#681F6B
secondary
#4A9F47
accent
#DE494F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #681F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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