#681672#681672

#681672 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.158 H 323.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#681672
RGBrgb(104, 22, 114)
HSLhsl(293, 68%, 27%)
HSVhsv(293, 81%, 45%)
CMYKcmyk(8.8%, 80.7%, 0%, 55.3%)
CIE-LABlab(25.96, 47.32, -33.97)
CIE-LCHlch(25.96, 58.25, 324.33°)
OKLaboklab(38.26% 0.1264 -0.095)
OKLCHoklch(38.26% 0.158 323.1)
XYZxyz(9.0328, 4.7323, 16.3540)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681672 #207216
analogous
#3A1672 #681672 #72164E
triadic
#681672 #726816 #167268
tetradic
#681672 #723A16 #207216 #164E72
square
#681672 #723A16 #207216 #164E72
split-complementary
#681672 #4E7216 #16723A
monochromatic
#17051A #390C3F #681672 #9720A5 #C42CD6

Accessibility & contrast

On white

10.79
#681672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #681672
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681672#FFFFFF#000000##FFFFFF
##6816721.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#6A2844
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681672;
/* rgb */ color: rgb(104, 22, 114);
/* oklch */ color: oklch(38.3% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#965e9b',
    500: '#681672',
    950: '#000000',
  },
}
SCSS
$custom: #681672;
$custom-light: #965e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#681672",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 293.478,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38259,
    "c": 0.15805,
    "h": 323.1
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#681672
secondary
#48A83C
accent
#EB3D50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681672

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

Preview Lab → · Contrast checker → · Palette generator →

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