#681972#681972

#681972 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.155 H 322.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#681972
RGBrgb(104, 25, 114)
HSLhsl(293, 64%, 27%)
HSVhsv(293, 78%, 45%)
CMYKcmyk(8.8%, 78.1%, 0%, 55.3%)
CIE-LABlab(26.31, 46.29, -33.40)
CIE-LCHlch(26.31, 57.09, 324.19°)
OKLaboklab(38.51% 0.1236 -0.0933)
OKLCHoklch(38.51% 0.155 322.9)
XYZxyz(9.0935, 4.8538, 16.3742)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681972 #237219
analogous
#3B1972 #681972 #721950
triadic
#681972 #726819 #197268
tetradic
#681972 #723B19 #237219 #195072
square
#681972 #723B19 #237219 #195072
split-complementary
#681972 #507219 #19723B
monochromatic
#170619 #3A0E40 #681972 #9624A4 #C033D2

Accessibility & contrast

On white

10.66
#681972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#681972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681972
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681972#FFFFFF#000000##FFFFFF
##6819721.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #681972;
/* rgb */ color: rgb(104, 25, 114);
/* oklch */ color: oklch(38.5% 0.155 322.9);
Tailwind
colors: {
  custom: {
    50: '#965f9b',
    500: '#681972',
    950: '#000000',
  },
}
SCSS
$custom: #681972;
$custom-light: #965f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#681972",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 293.258,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.15484,
    "h": 322.9
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#681972
secondary
#4BA740
accent
#E74153
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681972

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

Preview Lab → · Contrast checker → · Palette generator →

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