#6C166B#6C166B

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

Color values

HEX#6C166B
RGBrgb(108, 22, 107)
HSLhsl(301, 66%, 25%)
HSVhsv(301, 80%, 42%)
CMYKcmyk(0%, 79.6%, 0.9%, 57.6%)
CIE-LABlab(26.23, 46.93, -28.99)
CIE-LCHlch(26.23, 55.16, 328.29°)
OKLaboklab(38.45% 0.1315 -0.0803)
OKLCHoklch(38.45% 0.154 328.6)
XYZxyz(9.1250, 4.8242, 14.3576)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C166B #166C17
analogous
#42166C #6C166B #6C1640
triadic
#6C166B #6B6C16 #166B6C
tetradic
#6C166B #6C4216 #166C17 #16406C
square
#6C166B #6C4216 #166C17 #16406C
split-complementary
#6C166B #406C16 #166C42
monochromatic
#190519 #390C39 #6C166B #9F209D #D22BD0

Accessibility & contrast

On white

10.69
#6C166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C166B
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C166B#FFFFFF#000000##FFFFFF
##6C166B1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376D
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#702440
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c166b;
/* rgb */ color: rgb(108, 22, 107);
/* oklch */ color: oklch(38.4% 0.154 328.6);
Tailwind
colors: {
  custom: {
    50: '#995e96',
    500: '#6c166b',
    950: '#000000',
  },
}
SCSS
$custom: #6c166b;
$custom-light: #995e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c166b",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 300.698,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.15408,
    "h": 328.6
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#6C166B
secondary
#3CA23D
accent
#E9413F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C166B

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

Preview Lab → · Contrast checker → · Palette generator →

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