#68176D#68176D

#68176D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.153 H 325.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#68176D
RGBrgb(104, 23, 109)
HSLhsl(297, 65%, 26%)
HSVhsv(297, 79%, 43%)
CMYKcmyk(4.6%, 78.9%, 0%, 57.3%)
CIE-LABlab(25.75, 46.05, -31.09)
CIE-LCHlch(25.75, 55.56, 325.97°)
OKLaboklab(38% 0.1258 -0.0866)
OKLCHoklch(38% 0.153 325.5)
XYZxyz(8.7754, 4.6606, 14.9024)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68176D #1C6D17
analogous
#3D176D #68176D #6D1747
triadic
#68176D #6D6817 #176D68
tetradic
#68176D #6D3D17 #1C6D17 #17476D
square
#68176D #6D3D17 #1C6D17 #17476D
split-complementary
#68176D #476D17 #176D3D
monochromatic
#180519 #380C3A #68176D #9822A0 #C82CD2

Accessibility & contrast

On white

10.87
#68176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68176D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68176D#FFFFFF#000000##FFFFFF
##68176D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#6B2641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68176d;
/* rgb */ color: rgb(104, 23, 109);
/* oklch */ color: oklch(38.0% 0.153 325.5);
Tailwind
colors: {
  custom: {
    50: '#965e97',
    500: '#68176d',
    950: '#000000',
  },
}
SCSS
$custom: #68176d;
$custom-light: #965e97;
$custom-dark: #000000;
JSON
{
  "hex": "#68176d",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 296.512,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.1527,
    "h": 325.5
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#68176D
secondary
#43A33D
accent
#E84049
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68176D

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

Preview Lab → · Contrast checker → · Palette generator →

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