#681F85#681F85

#681F85 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 314.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#681F85
RGBrgb(104, 31, 133)
HSLhsl(283, 62%, 32%)
HSVhsv(283, 77%, 52%)
CMYKcmyk(21.8%, 76.7%, 0%, 47.8%)
CIE-LABlab(28.42, 47.91, -42.03)
CIE-LCHlch(28.42, 63.73, 318.74°)
OKLaboklab(40.43% 0.1155 -0.1186)
OKLCHoklch(40.43% 0.166 314.2)
XYZxyz(10.4318, 5.6168, 22.7204)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F85 #3C851F
analogous
#351F85 #681F85 #851F6F
triadic
#681F85 #85681F #1F8568
tetradic
#681F85 #85351F #3C851F #1F6F85
square
#681F85 #85351F #3C851F #1F6F85
split-complementary
#681F85 #6F851F #1F8535
monochromatic
#1A0822 #411353 #681F85 #8F2BB7 #AD4AD5

Accessibility & contrast

On white

9.89
#681F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#681F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681F85
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F85#FFFFFF#000000##FFFFFF
##681F851.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#184583
Tritanopia (blue-blind)
#653651
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681f85;
/* rgb */ color: rgb(104, 31, 133);
/* oklch */ color: oklch(40.4% 0.166 314.2);
Tailwind
colors: {
  custom: {
    50: '#9763a9',
    500: '#681f85',
    950: '#000000',
  },
}
SCSS
$custom: #681f85;
$custom-light: #9763a9;
$custom-dark: #000000;
JSON
{
  "hex": "#681f85",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 282.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.16558,
    "h": 314.2
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#681F85
secondary
#68B749
accent
#E54371
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F85

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

Preview Lab → · Contrast checker → · Palette generator →

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