#681F8F#681F8F

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

Color values

HEX#681F8F
RGBrgb(104, 31, 143)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 56%)
CMYKcmyk(27.3%, 78.3%, 0%, 43.9%)
CIE-LABlab(29.18, 50.09, -47.03)
CIE-LCHlch(29.18, 68.71, 316.80°)
OKLaboklab(41.2% 0.1137 -0.1333)
OKLCHoklch(41.2% 0.175 310.5)
XYZxyz(11.1559, 5.9065, 26.5337)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F8F #468F1F
analogous
#301F8F #681F8F #8F1F7E
triadic
#681F8F #8F681F #1F8F68
tetradic
#681F8F #8F301F #468F1F #1F7E8F
square
#681F8F #8F301F #468F1F #1F7E8F
split-complementary
#681F8F #7E8F1F #1F8F30
monochromatic
#1F092A #43145D #681F8F #8D2AC1 #A94FD9

Accessibility & contrast

On white

9.63
#681F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F8F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F8F#FFFFFF#000000##FFFFFF
##681F8F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681f8f;
/* rgb */ color: rgb(104, 31, 143);
/* oklch */ color: oklch(41.2% 0.175 310.5);
Tailwind
colors: {
  custom: {
    50: '#9763b1',
    500: '#681f8f',
    950: '#000000',
  },
}
SCSS
$custom: #681f8f;
$custom-light: #9763b1;
$custom-dark: #000000;
JSON
{
  "hex": "#681f8f",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 279.107,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.17523,
    "h": 310.5
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#681F8F
secondary
#74BC4E
accent
#E7407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #681F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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