#68176F#68176F

#68176F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.154 H 324.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#68176F
RGBrgb(104, 23, 111)
HSLhsl(295, 66%, 26%)
HSVhsv(295, 79%, 44%)
CMYKcmyk(6.3%, 79.3%, 0%, 56.5%)
CIE-LABlab(25.87, 46.42, -32.18)
CIE-LCHlch(25.87, 56.48, 325.27°)
OKLaboklab(38.14% 0.1257 -0.0897)
OKLCHoklch(38.14% 0.154 324.5)
XYZxyz(8.8843, 4.7041, 15.4759)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68176F #1E6F17
analogous
#3C176F #68176F #6F174A
triadic
#68176F #6F6817 #176F68
tetradic
#68176F #6F3C17 #1E6F17 #174A6F
square
#68176F #6F3C17 #1E6F17 #174A6F
split-complementary
#68176F #4A6F17 #176F3C
monochromatic
#180519 #390C3C #68176F #9822A2 #C62DD3

Accessibility & contrast

On white

10.82
#68176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#68176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68176F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68176F#FFFFFF#000000##FFFFFF
##68176F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#6A2742
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68176f;
/* rgb */ color: rgb(104, 23, 111);
/* oklch */ color: oklch(38.1% 0.154 324.5);
Tailwind
colors: {
  custom: {
    50: '#965e99',
    500: '#68176f',
    950: '#000000',
  },
}
SCSS
$custom: #68176f;
$custom-light: #965e99;
$custom-dark: #000000;
JSON
{
  "hex": "#68176f",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 295.227,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.15442,
    "h": 324.5
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#68176F
secondary
#45A53D
accent
#E93F4D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #68176F

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

Preview Lab → · Contrast checker → · Palette generator →

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