#681F83#681F83

#681F83 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.164 H 315.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#681F83
RGBrgb(104, 31, 131)
HSLhsl(284, 62%, 32%)
HSVhsv(284, 76%, 51%)
CMYKcmyk(20.6%, 76.3%, 0%, 48.6%)
CIE-LABlab(28.28, 47.48, -41.01)
CIE-LCHlch(28.28, 62.74, 319.18°)
OKLaboklab(40.28% 0.1158 -0.1157)
OKLCHoklch(40.28% 0.164 315)
XYZxyz(10.2950, 5.5621, 21.9996)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F83 #3A831F
analogous
#361F83 #681F83 #831F6C
triadic
#681F83 #83681F #1F8368
tetradic
#681F83 #83361F #3A831F #1F6C83
square
#681F83 #83361F #3A831F #1F6C83
split-complementary
#681F83 #6C831F #1F8336
monochromatic
#190820 #411352 #681F83 #8F2BB4 #AE49D4

Accessibility & contrast

On white

9.94
#681F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F83
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F83#FFFFFF#000000##FFFFFF
##681F831.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1B4581
Tritanopia (blue-blind)
#66354F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681f83;
/* rgb */ color: rgb(104, 31, 131);
/* oklch */ color: oklch(40.3% 0.164 315.0);
Tailwind
colors: {
  custom: {
    50: '#9763a8',
    500: '#681f83',
    950: '#000000',
  },
}
SCSS
$custom: #681f83;
$custom-light: #9763a8;
$custom-dark: #000000;
JSON
{
  "hex": "#681f83",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 283.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.16365,
    "h": 315
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#681F83
secondary
#66B648
accent
#E5436F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F83

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

Preview Lab → · Contrast checker → · Palette generator →

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