#6C166A#6C166A

#6C166A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.153 H 329.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6C166A
RGBrgb(108, 22, 106)
HSLhsl(301, 66%, 25%)
HSVhsv(301, 80%, 42%)
CMYKcmyk(0%, 79.6%, 1.9%, 57.6%)
CIE-LABlab(26.17, 46.76, -28.44)
CIE-LCHlch(26.17, 54.73, 328.69°)
OKLaboklab(38.38% 0.1315 -0.0787)
OKLCHoklch(38.38% 0.153 329.1)
XYZxyz(9.0727, 4.8033, 14.0821)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C166A #166C18
analogous
#43166C #6C166A #6C163F
triadic
#6C166A #6A6C16 #166A6C
tetradic
#6C166A #6C4316 #166C18 #163F6C
square
#6C166A #6C4316 #166C18 #163F6C
split-complementary
#6C166A #3F6C16 #166C43
monochromatic
#190519 #390C38 #6C166A #9F209C #D22BCE

Accessibility & contrast

On white

10.71
#6C166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6C166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C166A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C166A#FFFFFF#000000##FFFFFF
##6C166A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#70233F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c166a;
/* rgb */ color: rgb(108, 22, 106);
/* oklch */ color: oklch(38.4% 0.153 329.1);
Tailwind
colors: {
  custom: {
    50: '#995e95',
    500: '#6c166a',
    950: '#000000',
  },
}
SCSS
$custom: #6c166a;
$custom-light: #995e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6c166a",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 301.395,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.15327,
    "h": 329.1
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#6C166A
secondary
#3CA23E
accent
#E9433F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C166A

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

Preview Lab → · Contrast checker → · Palette generator →

#6C166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva