#6C176C#6C176C

#6C176C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.154 H 328.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#6C176C
RGBrgb(108, 23, 108)
HSLhsl(300, 65%, 26%)
HSVhsv(300, 79%, 42%)
CMYKcmyk(0%, 78.7%, 0%, 57.6%)
CIE-LABlab(26.40, 46.78, -29.36)
CIE-LCHlch(26.40, 55.23, 327.89°)
OKLaboklab(38.59% 0.1306 -0.0814)
OKLCHoklch(38.59% 0.154 328.1)
XYZxyz(9.1974, 4.8843, 14.6428)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C176C #176C17
analogous
#41176C #6C176C #6C1741
triadic
#6C176C #6C6C17 #176C6C
tetradic
#6C176C #6C4117 #176C17 #17416C
square
#6C176C #6C4117 #176C17 #17416C
split-complementary
#6C176C #416C17 #176C41
monochromatic
#190519 #3A0C3A #6C176C #9E229E #D12CD1

Accessibility & contrast

On white

10.62
#6C176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C176C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C176C#FFFFFF#000000##FFFFFF
##6C176C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376E
Deuteranopia (green-blind)
#2F426A
Tritanopia (blue-blind)
#702541
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c176c;
/* rgb */ color: rgb(108, 23, 108);
/* oklch */ color: oklch(38.6% 0.154 328.1);
Tailwind
colors: {
  custom: {
    50: '#995f96',
    500: '#6c176c',
    950: '#000000',
  },
}
SCSS
$custom: #6c176c;
$custom-light: #995f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c176c",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 300,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.15385,
    "h": 328.1
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#6C176C
secondary
#3DA23D
accent
#E84040
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C176C

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

Preview Lab → · Contrast checker → · Palette generator →

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