#681981#681981

#681981 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.168 H 316.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#681981
RGBrgb(104, 25, 129)
HSLhsl(286, 68%, 30%)
HSVhsv(286, 81%, 51%)
CMYKcmyk(19.4%, 80.6%, 0%, 49.4%)
CIE-LABlab(27.36, 49.28, -41.24)
CIE-LCHlch(27.36, 64.26, 320.08°)
OKLaboklab(39.59% 0.1217 -0.1163)
OKLCHoklch(39.59% 0.168 316.3)
XYZxyz(10.0184, 5.2237, 21.2452)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681981 #328119
analogous
#341981 #681981 #811966
triadic
#681981 #816819 #198168
tetradic
#681981 #813419 #328119 #196681
square
#681981 #813419 #328119 #196681
split-complementary
#681981 #668119 #198134
monochromatic
#15051A #3F0F4E #681981 #9123B4 #B33BD9

Accessibility & contrast

On white

10.27
#681981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#681981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681981
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681981#FFFFFF#000000##FFFFFF
##6819811.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#66314D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #681981;
/* rgb */ color: rgb(104, 25, 129);
/* oklch */ color: oklch(39.6% 0.168 316.3);
Tailwind
colors: {
  custom: {
    50: '#9760a6',
    500: '#681981',
    950: '#000000',
  },
}
SCSS
$custom: #681981;
$custom-light: #9760a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681981",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 285.577,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.16831,
    "h": 316.3
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#681981
secondary
#5DB541
accent
#EA3D67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #681981

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

Preview Lab → · Contrast checker → · Palette generator →

#681981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva