#681173#681173

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

Color values

HEX#681173
RGBrgb(104, 17, 115)
HSLhsl(293, 74%, 26%)
HSVhsv(293, 85%, 45%)
CMYKcmyk(9.6%, 85.2%, 0%, 54.9%)
CIE-LABlab(25.51, 49.00, -35.33)
CIE-LCHlch(25.51, 60.41, 324.21°)
OKLaboklab(37.96% 0.1303 -0.0989)
OKLCHoklch(37.96% 0.164 322.8)
XYZxyz(9.0036, 4.5823, 16.6266)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681173 #1C7311
analogous
#371173 #681173 #73114D
triadic
#681173 #736811 #117368
tetradic
#681173 #733711 #1C7311 #114D73
square
#681173 #733711 #1C7311 #114D73
split-complementary
#681173 #4D7311 #117337
monochromatic
#18041B #38093E #681173 #9819A8 #C821DE

Accessibility & contrast

On white

10.96
#681173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681173
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681173#FFFFFF#000000##FFFFFF
##6811731.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#6A2643
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #681173;
/* rgb */ color: rgb(104, 17, 115);
/* oklch */ color: oklch(38.0% 0.164 322.8);
Tailwind
colors: {
  custom: {
    50: '#975c9c',
    500: '#681173',
    950: '#000000',
  },
}
SCSS
$custom: #681173;
$custom-light: #975c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#681173",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 293.265,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.16358,
    "h": 322.8
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#681173
secondary
#43AA36
accent
#F1374C
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681173

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

Preview Lab → · Contrast checker → · Palette generator →

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