#68176A#68176A

#68176A is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.150 H 327.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#68176A
RGBrgb(104, 23, 106)
HSLhsl(299, 64%, 25%)
HSVhsv(299, 78%, 42%)
CMYKcmyk(1.9%, 78.3%, 0%, 58.4%)
CIE-LABlab(25.55, 45.50, -29.46)
CIE-LCHlch(25.55, 54.20, 327.08°)
OKLaboklab(37.81% 0.1259 -0.0818)
OKLCHoklch(37.81% 0.15 327)
XYZxyz(8.6167, 4.5971, 14.0664)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68176A #196A17
analogous
#3E176A #68176A #6A1742
triadic
#68176A #6A6817 #176A68
tetradic
#68176A #6A3E17 #196A17 #17426A
square
#68176A #6A3E17 #196A17 #17426A
split-complementary
#68176A #426A17 #176A3E
monochromatic
#190519 #370C38 #68176A #99229C #CB2DCF

Accessibility & contrast

On white

10.94
#68176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68176A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68176A#FFFFFF#000000##FFFFFF
##68176A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#6B253F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68176a;
/* rgb */ color: rgb(104, 23, 106);
/* oklch */ color: oklch(37.8% 0.150 327.0);
Tailwind
colors: {
  custom: {
    50: '#965e95',
    500: '#68176a',
    950: '#000000',
  },
}
SCSS
$custom: #68176a;
$custom-light: #965e95;
$custom-dark: #000000;
JSON
{
  "hex": "#68176a",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 298.554,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37805,
    "c": 0.15016,
    "h": 327
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#68176A
secondary
#3FA03D
accent
#E74044
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68176A

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

Preview Lab → · Contrast checker → · Palette generator →

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