#681571#681571

#681571 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.158 H 323.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#681571
RGBrgb(104, 21, 113)
HSLhsl(294, 69%, 26%)
HSVhsv(294, 81%, 44%)
CMYKcmyk(8%, 81.4%, 0%, 55.7%)
CIE-LABlab(25.78, 47.45, -33.61)
CIE-LCHlch(25.78, 58.15, 324.69°)
OKLaboklab(38.11% 0.1273 -0.0939)
OKLCHoklch(38.11% 0.158 323.6)
XYZxyz(8.9575, 4.6722, 16.0496)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681571 #1E7115
analogous
#3A1571 #681571 #71154C
triadic
#681571 #716815 #157168
tetradic
#681571 #713A15 #1E7115 #154C71
square
#681571 #713A15 #1E7115 #154C71
split-complementary
#681571 #4C7115 #15713A
monochromatic
#18051A #390B3D #681571 #971FA5 #C629D7

Accessibility & contrast

On white

10.86
#681571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#681571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681571
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681571#FFFFFF#000000##FFFFFF
##6815711.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#26406F
Tritanopia (blue-blind)
#6A2743
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681571;
/* rgb */ color: rgb(104, 21, 113);
/* oklch */ color: oklch(38.1% 0.158 323.6);
Tailwind
colors: {
  custom: {
    50: '#965e9a',
    500: '#681571',
    950: '#000000',
  },
}
SCSS
$custom: #681571;
$custom-light: #965e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681571",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 294.13,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.15821,
    "h": 323.6
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#681571
secondary
#45A73B
accent
#EB3C4D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681571

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

Preview Lab → · Contrast checker → · Palette generator →

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