#68176C#68176C

#68176C is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.152 H 326.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#68176C
RGBrgb(104, 23, 108)
HSLhsl(297, 65%, 26%)
HSVhsv(297, 79%, 42%)
CMYKcmyk(3.7%, 78.7%, 0%, 57.6%)
CIE-LABlab(25.68, 45.86, -30.55)
CIE-LCHlch(25.68, 55.11, 326.33°)
OKLaboklab(37.94% 0.1259 -0.085)
OKLCHoklch(37.94% 0.152 326)
XYZxyz(8.7219, 4.6392, 14.6205)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68176C #1B6C17
analogous
#3D176C #68176C #6C1745
triadic
#68176C #6C6817 #176C68
tetradic
#68176C #6C3D17 #1B6C17 #17456C
square
#68176C #6C3D17 #1B6C17 #17456C
split-complementary
#68176C #456C17 #176C3D
monochromatic
#180519 #370C3A #68176C #99229E #C92CD1

Accessibility & contrast

On white

10.89
#68176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#68176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68176C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68176C#FFFFFF#000000##FFFFFF
##68176C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#2B406A
Tritanopia (blue-blind)
#6B2641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68176c;
/* rgb */ color: rgb(104, 23, 108);
/* oklch */ color: oklch(37.9% 0.152 326.0);
Tailwind
colors: {
  custom: {
    50: '#965e96',
    500: '#68176c',
    950: '#000000',
  },
}
SCSS
$custom: #68176c;
$custom-light: #965e96;
$custom-dark: #000000;
JSON
{
  "hex": "#68176c",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 297.176,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.15185,
    "h": 326
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#68176C
secondary
#42A23D
accent
#E84048
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68176C

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

Preview Lab → · Contrast checker → · Palette generator →

#68176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva