#6C166F#6C166F

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

Color values

HEX#6C166F
RGBrgb(108, 22, 111)
HSLhsl(298, 67%, 26%)
HSVhsv(298, 80%, 44%)
CMYKcmyk(2.7%, 80.2%, 0%, 56.5%)
CIE-LABlab(26.48, 47.64, -31.17)
CIE-LCHlch(26.48, 56.93, 326.80°)
OKLaboklab(38.7% 0.1314 -0.0867)
OKLCHoklch(38.7% 0.157 326.6)
XYZxyz(9.3403, 4.9103, 15.4917)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C166F #196F16
analogous
#3F166F #6C166F #6F1645
triadic
#6C166F #6F6C16 #166F6C
tetradic
#6C166F #6F3F16 #196F16 #16456F
square
#6C166F #6F3F16 #196F16 #16456F
split-complementary
#6C166F #456F16 #166F3F
monochromatic
#19051A #3A0C3C #6C166F #9E20A2 #CF2BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C166F#FFFFFF#000000##FFFFFF
##6C166F1.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)
#003871
Deuteranopia (green-blind)
#2D426D
Tritanopia (blue-blind)
#6F2642
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c166f;
/* rgb */ color: rgb(108, 22, 111);
/* oklch */ color: oklch(38.7% 0.157 326.6);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6c166f',
    950: '#000000',
  },
}
SCSS
$custom: #6c166f;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c166f",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 297.978,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.15738,
    "h": 326.6
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#6C166F
secondary
#3FA53C
accent
#EA3E44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C166F

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

Preview Lab → · Contrast checker → · Palette generator →

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