#681F8D#681F8D

#681F8D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.173 H 311.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#681F8D
RGBrgb(104, 31, 141)
HSLhsl(280, 64%, 34%)
HSVhsv(280, 78%, 55%)
CMYKcmyk(26.2%, 78%, 0%, 44.7%)
CIE-LABlab(29.02, 49.65, -46.05)
CIE-LCHlch(29.02, 67.71, 317.15°)
OKLaboklab(41.04% 0.1141 -0.1304)
OKLCHoklch(41.04% 0.173 311.2)
XYZxyz(11.0057, 5.8464, 25.7428)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F8D #448D1F
analogous
#311F8D #681F8D #8D1F7B
triadic
#681F8D #8D681F #1F8D68
tetradic
#681F8D #8D311F #448D1F #1F7B8D
square
#681F8D #8D311F #448D1F #1F7B8D
split-complementary
#681F8D #7B8D1F #1F8D31
monochromatic
#1E0929 #43145B #681F8D #8D2ABF #AA4ED8

Accessibility & contrast

On white

9.68
#681F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F8D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F8D#FFFFFF#000000##FFFFFF
##681F8D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#06468B
Tritanopia (blue-blind)
#633955
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #681f8d;
/* rgb */ color: rgb(104, 31, 141);
/* oklch */ color: oklch(41.0% 0.173 311.2);
Tailwind
colors: {
  custom: {
    50: '#9763af',
    500: '#681f8d',
    950: '#000000',
  },
}
SCSS
$custom: #681f8d;
$custom-light: #9763af;
$custom-dark: #000000;
JSON
{
  "hex": "#681f8d",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 279.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.17329,
    "h": 311.2
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#681F8D
secondary
#72BB4D
accent
#E74179
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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