#681881#681881

#681881 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.169 H 316.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#681881
RGBrgb(104, 24, 129)
HSLhsl(286, 69%, 30%)
HSVhsv(286, 81%, 51%)
CMYKcmyk(19.4%, 81.4%, 0%, 49.4%)
CIE-LABlab(27.25, 49.62, -41.43)
CIE-LCHlch(27.25, 64.64, 320.14°)
OKLaboklab(39.51% 0.1226 -0.1168)
OKLCHoklch(39.51% 0.169 316.4)
XYZxyz(9.9974, 5.1817, 21.2382)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681881 #318118
analogous
#331881 #681881 #811866
triadic
#681881 #816818 #188168
tetradic
#681881 #813318 #318118 #186681
square
#681881 #813318 #318118 #186681
split-complementary
#681881 #668118 #188133
monochromatic
#15051A #3E0E4D #681881 #9222B5 #B439DA

Accessibility & contrast

On white

10.31
#681881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681881
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681881#FFFFFF#000000##FFFFFF
##6818811.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#17437F
Tritanopia (blue-blind)
#66304D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #681881;
/* rgb */ color: rgb(104, 24, 129);
/* oklch */ color: oklch(39.5% 0.169 316.4);
Tailwind
colors: {
  custom: {
    50: '#9760a6',
    500: '#681881',
    950: '#000000',
  },
}
SCSS
$custom: #681881;
$custom-light: #9760a6;
$custom-dark: #000000;
JSON
{
  "hex": "#681881",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 285.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.16932,
    "h": 316.4
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#681881
secondary
#5CB540
accent
#EB3C66
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #681881

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

Preview Lab → · Contrast checker → · Palette generator →

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