#681871#681871

#681871 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.155 H 323.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#681871
RGBrgb(104, 24, 113)
HSLhsl(294, 65%, 27%)
HSVhsv(294, 79%, 44%)
CMYKcmyk(8%, 78.8%, 0%, 55.7%)
CIE-LABlab(26.13, 46.46, -33.06)
CIE-LCHlch(26.13, 57.02, 324.56°)
OKLaboklab(38.36% 0.1246 -0.0923)
OKLCHoklch(38.36% 0.155 323.5)
XYZxyz(9.0159, 4.7891, 16.0691)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681871 #217118
analogous
#3C1871 #681871 #71184E
triadic
#681871 #716818 #187168
tetradic
#681871 #713C18 #217118 #184E71
square
#681871 #713C18 #217118 #184E71
split-complementary
#681871 #4E7118 #18713C
monochromatic
#170519 #3A0D3F #681871 #9623A3 #C330D3

Accessibility & contrast

On white

10.73
#681871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#681871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681871
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681871#FFFFFF#000000##FFFFFF
##6818711.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#28416F
Tritanopia (blue-blind)
#6A2944
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681871;
/* rgb */ color: rgb(104, 24, 113);
/* oklch */ color: oklch(38.4% 0.155 323.5);
Tailwind
colors: {
  custom: {
    50: '#965f9a',
    500: '#681871',
    950: '#000000',
  },
}
SCSS
$custom: #681871;
$custom-light: #965f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681871",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 293.933,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.15507,
    "h": 323.5
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#681871
secondary
#49A63E
accent
#E84051
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681871

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

Preview Lab → · Contrast checker → · Palette generator →

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