#681F82#681F82

#681F82 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.163 H 315.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#681F82
RGBrgb(104, 31, 130)
HSLhsl(284, 61%, 32%)
HSVhsv(284, 76%, 51%)
CMYKcmyk(20%, 76.2%, 0%, 49%)
CIE-LABlab(28.21, 47.27, -40.50)
CIE-LCHlch(28.21, 62.25, 319.41°)
OKLaboklab(40.21% 0.1159 -0.1141)
OKLCHoklch(40.21% 0.163 315.4)
XYZxyz(10.2275, 5.5351, 21.6444)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F82 #39821F
analogous
#361F82 #681F82 #821F6B
triadic
#681F82 #82681F #1F8268
tetradic
#681F82 #82361F #39821F #1F6B82
square
#681F82 #82361F #39821F #1F6B82
split-complementary
#681F82 #6B821F #1F8236
monochromatic
#19071F #401351 #681F82 #902BB3 #AF48D3

Accessibility & contrast

On white

9.97
#681F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#681F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F82
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F82#FFFFFF#000000##FFFFFF
##681F821.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#1C4480
Tritanopia (blue-blind)
#66344F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681f82;
/* rgb */ color: rgb(104, 31, 130);
/* oklch */ color: oklch(40.2% 0.163 315.4);
Tailwind
colors: {
  custom: {
    50: '#9763a7',
    500: '#681f82',
    950: '#000000',
  },
}
SCSS
$custom: #681f82;
$custom-light: #9763a7;
$custom-dark: #000000;
JSON
{
  "hex": "#681f82",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 284.242,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.16269,
    "h": 315.4
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#681F82
secondary
#65B548
accent
#E5436E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #681F82

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

Preview Lab → · Contrast checker → · Palette generator →

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