#68166C#68166C

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

Color values

HEX#68166C
RGBrgb(104, 22, 108)
HSLhsl(297, 66%, 25%)
HSVhsv(297, 80%, 42%)
CMYKcmyk(3.7%, 79.6%, 0%, 57.6%)
CIE-LABlab(25.56, 46.20, -30.74)
CIE-LCHlch(25.56, 55.49, 326.36°)
OKLaboklab(37.85% 0.1268 -0.0855)
OKLCHoklch(37.85% 0.153 326)
XYZxyz(8.7024, 4.6002, 14.6140)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68166C #1A6C16
analogous
#3D166C #68166C #6C1645
triadic
#68166C #6C6816 #166C68
tetradic
#68166C #6C3D16 #1A6C16 #16456C
square
#68166C #6C3D16 #1A6C16 #16456C
split-complementary
#68166C #456C16 #166C3D
monochromatic
#180519 #370C39 #68166C #99209F #CA2BD2

Accessibility & contrast

On white

10.94
#68166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#68166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68166C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68166C#FFFFFF#000000##FFFFFF
##68166C1.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)
#00366E
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#6B2540
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68166c;
/* rgb */ color: rgb(104, 22, 108);
/* oklch */ color: oklch(37.9% 0.153 326.0);
Tailwind
colors: {
  custom: {
    50: '#965e96',
    500: '#68166c',
    950: '#000000',
  },
}
SCSS
$custom: #68166c;
$custom-light: #965e96;
$custom-dark: #000000;
JSON
{
  "hex": "#68166c",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 297.209,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.15292,
    "h": 326
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#68166C
secondary
#40A23C
accent
#E93F47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68166C

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

Preview Lab → · Contrast checker → · Palette generator →

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