#68176B#68176B

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

Color values

HEX#68176B
RGBrgb(104, 23, 107)
HSLhsl(298, 65%, 25%)
HSVhsv(298, 79%, 42%)
CMYKcmyk(2.8%, 78.5%, 0%, 58%)
CIE-LABlab(25.62, 45.68, -30.01)
CIE-LCHlch(25.62, 54.66, 326.70°)
OKLaboklab(37.87% 0.1259 -0.0834)
OKLCHoklch(37.87% 0.151 326.5)
XYZxyz(8.6690, 4.6180, 14.3418)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68176B #1A6B17
analogous
#3E176B #68176B #6B1744
triadic
#68176B #6B6817 #176B68
tetradic
#68176B #6B3E17 #1A6B17 #17446B
square
#68176B #6B3E17 #1A6B17 #17446B
split-complementary
#68176B #446B17 #176B3E
monochromatic
#180519 #370C39 #68176B #99229D #CA2DD0

Accessibility & contrast

On white

10.92
#68176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#68176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68176B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68176B#FFFFFF#000000##FFFFFF
##68176B1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#6B2540
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68176b;
/* rgb */ color: rgb(104, 23, 107);
/* oklch */ color: oklch(37.9% 0.151 326.5);
Tailwind
colors: {
  custom: {
    50: '#965e96',
    500: '#68176b',
    950: '#000000',
  },
}
SCSS
$custom: #68176b;
$custom-light: #965e96;
$custom-dark: #000000;
JSON
{
  "hex": "#68176b",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 297.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.151,
    "h": 326.5
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#68176B
secondary
#40A13D
accent
#E84046
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68176B

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

Preview Lab → · Contrast checker → · Palette generator →

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