#681171#681171

#681171 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.162 H 323.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#681171
RGBrgb(104, 17, 113)
HSLhsl(294, 74%, 25%)
HSVhsv(294, 85%, 44%)
CMYKcmyk(8%, 85%, 0%, 55.7%)
CIE-LABlab(25.37, 48.63, -34.27)
CIE-LCHlch(25.37, 59.49, 324.83°)
OKLaboklab(37.82% 0.1306 -0.0958)
OKLCHoklch(37.82% 0.162 323.7)
XYZxyz(8.8897, 4.5368, 16.0270)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681171 #1A7111
analogous
#381171 #681171 #71114A
triadic
#681171 #716811 #117168
tetradic
#681171 #713811 #1A7111 #114A71
square
#681171 #713811 #1A7111 #114A71
split-complementary
#681171 #4A7111 #117138
monochromatic
#18041B #37093C #681171 #9919A6 #CA21DB

Accessibility & contrast

On white

11.01
#681171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#681171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681171
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681171#FFFFFF#000000##FFFFFF
##6811711.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#6A2542
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #681171;
/* rgb */ color: rgb(104, 17, 113);
/* oklch */ color: oklch(37.8% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#975c9a',
    500: '#681171',
    950: '#000000',
  },
}
SCSS
$custom: #681171;
$custom-light: #975c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#681171",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 294.375,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.16192,
    "h": 323.7
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#681171
secondary
#40A836
accent
#F13749
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681171

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

Preview Lab → · Contrast checker → · Palette generator →

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