#681772#681772

#681772 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.157 H 323.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#681772
RGBrgb(104, 23, 114)
HSLhsl(293, 66%, 27%)
HSVhsv(293, 80%, 45%)
CMYKcmyk(8.8%, 79.8%, 0%, 55.3%)
CIE-LABlab(26.07, 46.99, -33.79)
CIE-LCHlch(26.07, 57.87, 324.28°)
OKLaboklab(38.34% 0.1255 -0.0944)
OKLCHoklch(38.34% 0.157 323)
XYZxyz(9.0523, 4.7713, 16.3605)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681772 #217217
analogous
#3B1772 #681772 #72174F
triadic
#681772 #726817 #177268
tetradic
#681772 #723B17 #217217 #174F72
square
#681772 #723B17 #217217 #174F72
split-complementary
#681772 #4F7217 #17723B
monochromatic
#170519 #3A0D3F #681772 #9621A5 #C32ED5

Accessibility & contrast

On white

10.75
#681772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#681772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681772
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681772#FFFFFF#000000##FFFFFF
##6817721.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#6A2944
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #681772;
/* rgb */ color: rgb(104, 23, 114);
/* oklch */ color: oklch(38.3% 0.157 323.0);
Tailwind
colors: {
  custom: {
    50: '#965f9b',
    500: '#681772',
    950: '#000000',
  },
}
SCSS
$custom: #681772;
$custom-light: #965f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#681772",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 293.407,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.15701,
    "h": 323
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#681772
secondary
#49A83D
accent
#E93E51
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681772

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

Preview Lab → · Contrast checker → · Palette generator →

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