#681371#681371

#681371 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.160 H 323.7°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#681371
RGBrgb(104, 19, 113)
HSLhsl(294, 71%, 26%)
HSVhsv(294, 83%, 44%)
CMYKcmyk(8%, 83.2%, 0%, 55.7%)
CIE-LABlab(25.57, 48.06, -33.95)
CIE-LCHlch(25.57, 58.85, 324.76°)
OKLaboklab(37.96% 0.129 -0.0949)
OKLCHoklch(37.96% 0.16 323.7)
XYZxyz(8.9222, 4.6016, 16.0378)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681371 #1C7113
analogous
#391371 #681371 #71134B
triadic
#681371 #716813 #137168
tetradic
#681371 #713913 #1C7113 #134B71
square
#681371 #713913 #1C7113 #134B71
split-complementary
#681371 #4B7113 #137139
monochromatic
#18041A #380A3D #681371 #981CA5 #C825DA

Accessibility & contrast

On white

10.94
#681371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#681371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681371
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681371#FFFFFF#000000##FFFFFF
##6813711.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#6A2643
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681371;
/* rgb */ color: rgb(104, 19, 113);
/* oklch */ color: oklch(38.0% 0.160 323.7);
Tailwind
colors: {
  custom: {
    50: '#975d9a',
    500: '#681371',
    950: '#000000',
  },
}
SCSS
$custom: #681371;
$custom-light: #975d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681371",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 294.255,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37961,
    "c": 0.16013,
    "h": 323.7
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#681371
secondary
#43A838
accent
#EE3A4B
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681371

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

Preview Lab → · Contrast checker → · Palette generator →

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