#6D166C#6D166C

#6D166C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.155 H 328.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#6D166C
RGBrgb(109, 22, 108)
HSLhsl(301, 66%, 26%)
HSVhsv(301, 80%, 43%)
CMYKcmyk(0%, 79.8%, 0.9%, 57.3%)
CIE-LABlab(26.47, 47.33, -29.24)
CIE-LCHlch(26.47, 55.64, 328.30°)
OKLaboklab(38.67% 0.1326 -0.081)
OKLCHoklch(38.67% 0.155 328.6)
XYZxyz(9.3003, 4.9084, 14.6420)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D166C #166D17
analogous
#42166D #6D166C #6D1640
triadic
#6D166C #6C6D16 #166C6D
tetradic
#6D166C #6D4216 #166D17 #16406D
square
#6D166C #6D4216 #166D17 #16406D
split-complementary
#6D166C #406D16 #166D42
monochromatic
#190519 #3A0C3A #6D166C #A0209E #D32BD1

Accessibility & contrast

On white

10.60
#6D166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6D166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D166C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D166C#FFFFFF#000000##FFFFFF
##6D166C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#2F436A
Tritanopia (blue-blind)
#712440
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d166c;
/* rgb */ color: rgb(109, 22, 108);
/* oklch */ color: oklch(38.7% 0.155 328.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f96',
    500: '#6d166c',
    950: '#000000',
  },
}
SCSS
$custom: #6d166c;
$custom-light: #9a5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6d166c",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 300.69,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.15541,
    "h": 328.6
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#6D166C
secondary
#3CA33D
accent
#E9403E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D166C

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

Preview Lab → · Contrast checker → · Palette generator →

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