#681F7F#681F7F

#681F7F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.160 H 316.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#681F7F
RGBrgb(104, 31, 127)
HSLhsl(286, 61%, 31%)
HSVhsv(286, 76%, 50%)
CMYKcmyk(18.1%, 75.6%, 0%, 50.2%)
CIE-LABlab(28.00, 46.64, -38.96)
CIE-LCHlch(28.00, 60.77, 320.12°)
OKLaboklab(39.99% 0.1163 -0.1096)
OKLCHoklch(39.99% 0.16 316.7)
XYZxyz(10.0291, 5.4557, 20.5993)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F7F #367F1F
analogous
#381F7F #681F7F #7F1F66
triadic
#681F7F #7F681F #1F7F68
tetradic
#681F7F #7F381F #367F1F #1F667F
square
#681F7F #7F381F #367F1F #1F667F
split-complementary
#681F7F #667F1F #1F7F38
monochromatic
#17071D #40134E #681F7F #902BB0 #B146D2

Accessibility & contrast

On white

10.04
#681F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#681F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F7F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F7F#FFFFFF#000000##FFFFFF
##681F7F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#67334D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #681f7f;
/* rgb */ color: rgb(104, 31, 127);
/* oklch */ color: oklch(40.0% 0.160 316.7);
Tailwind
colors: {
  custom: {
    50: '#9763a5',
    500: '#681f7f',
    950: '#000000',
  },
}
SCSS
$custom: #681f7f;
$custom-light: #9763a5;
$custom-dark: #000000;
JSON
{
  "hex": "#681f7f",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 285.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.15983,
    "h": 316.7
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#681F7F
secondary
#61B248
accent
#E4446A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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