#681F84#681F84

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

Color values

HEX#681F84
RGBrgb(104, 31, 132)
HSLhsl(283, 62%, 32%)
HSVhsv(283, 77%, 52%)
CMYKcmyk(21.2%, 76.5%, 0%, 48.2%)
CIE-LABlab(28.35, 47.69, -41.52)
CIE-LCHlch(28.35, 63.24, 318.96°)
OKLaboklab(40.36% 0.1156 -0.1171)
OKLCHoklch(40.36% 0.165 314.6)
XYZxyz(10.3631, 5.5893, 22.3583)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681F84 #3B841F
analogous
#351F84 #681F84 #841F6E
triadic
#681F84 #84681F #1F8468
tetradic
#681F84 #84351F #3B841F #1F6E84
square
#681F84 #84351F #3B841F #1F6E84
split-complementary
#681F84 #6E841F #1F8435
monochromatic
#1A0821 #411352 #681F84 #8F2BB6 #AE49D4

Accessibility & contrast

On white

9.92
#681F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681F84
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681F84#FFFFFF#000000##FFFFFF
##681F841.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#663550
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #681f84;
/* rgb */ color: rgb(104, 31, 132);
/* oklch */ color: oklch(40.4% 0.165 314.6);
Tailwind
colors: {
  custom: {
    50: '#9763a8',
    500: '#681f84',
    950: '#000000',
  },
}
SCSS
$custom: #681f84;
$custom-light: #9763a8;
$custom-dark: #000000;
JSON
{
  "hex": "#681f84",
  "rgb": {
    "r": 104,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 283.366,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.16461,
    "h": 314.6
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#681F84
secondary
#67B748
accent
#E54370
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #681F84

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

Preview Lab → · Contrast checker → · Palette generator →

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