#681971#681971

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

Color values

HEX#681971
RGBrgb(104, 25, 113)
HSLhsl(294, 64%, 27%)
HSVhsv(294, 78%, 44%)
CMYKcmyk(8%, 77.9%, 0%, 55.7%)
CIE-LABlab(26.25, 46.10, -32.87)
CIE-LCHlch(26.25, 56.62, 324.52°)
OKLaboklab(38.44% 0.1236 -0.0917)
OKLCHoklch(38.44% 0.154 323.4)
XYZxyz(9.0369, 4.8311, 16.0761)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681971 #227119
analogous
#3C1971 #681971 #71194E
triadic
#681971 #716819 #197168
tetradic
#681971 #713C19 #227119 #194E71
square
#681971 #713C19 #227119 #194E71
split-complementary
#681971 #4E7119 #19713C
monochromatic
#170619 #3A0E3F #681971 #9624A3 #C233D2

Accessibility & contrast

On white

10.68
#681971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#681971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681971
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681971#FFFFFF#000000##FFFFFF
##6819711.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.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: #681971;
/* rgb */ color: rgb(104, 25, 113);
/* oklch */ color: oklch(38.4% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#965f9a',
    500: '#681971',
    950: '#000000',
  },
}
SCSS
$custom: #681971;
$custom-light: #965f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681971",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 293.864,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.15396,
    "h": 323.4
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#681971
secondary
#4AA640
accent
#E74152
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681971

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

Preview Lab → · Contrast checker → · Palette generator →

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