#68166A#68166A

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

Color values

HEX#68166A
RGBrgb(104, 22, 106)
HSLhsl(299, 66%, 25%)
HSVhsv(299, 79%, 42%)
CMYKcmyk(1.9%, 79.2%, 0%, 58.4%)
CIE-LABlab(25.44, 45.84, -29.65)
CIE-LCHlch(25.44, 54.59, 327.11°)
OKLaboklab(37.72% 0.1269 -0.0823)
OKLCHoklch(37.72% 0.151 327)
XYZxyz(8.5972, 4.5581, 14.0599)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68166A #186A16
analogous
#3E166A #68166A #6A1642
triadic
#68166A #6A6816 #166A68
tetradic
#68166A #6A3E16 #186A16 #16426A
square
#68166A #6A3E16 #186A16 #16426A
split-complementary
#68166A #426A16 #166A3E
monochromatic
#190519 #360B37 #68166A #9A219D #CB2BCF

Accessibility & contrast

On white

10.99
#68166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#68166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68166A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68166A#FFFFFF#000000##FFFFFF
##68166A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#6B243F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68166a;
/* rgb */ color: rgb(104, 22, 106);
/* oklch */ color: oklch(37.7% 0.151 327.0);
Tailwind
colors: {
  custom: {
    50: '#965e95',
    500: '#68166a',
    950: '#000000',
  },
}
SCSS
$custom: #68166a;
$custom-light: #965e95;
$custom-dark: #000000;
JSON
{
  "hex": "#68166a",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 298.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.15124,
    "h": 327
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#68166A
secondary
#3EA03B
accent
#E93F43
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68166A

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

Preview Lab → · Contrast checker → · Palette generator →

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