#6C176A#6C176A

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

Color values

HEX#6C176A
RGBrgb(108, 23, 106)
HSLhsl(301, 65%, 26%)
HSVhsv(301, 79%, 42%)
CMYKcmyk(0%, 78.7%, 1.9%, 57.6%)
CIE-LABlab(26.28, 46.43, -28.26)
CIE-LCHlch(26.28, 54.35, 328.67°)
OKLaboklab(38.46% 0.1306 -0.0782)
OKLCHoklch(38.46% 0.152 329.1)
XYZxyz(9.0922, 4.8422, 14.0886)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C176A #176C19
analogous
#43176C #6C176A #6C173F
triadic
#6C176A #6A6C17 #176A6C
tetradic
#6C176A #6C4317 #176C19 #173F6C
square
#6C176A #6C4317 #176C19 #173F6C
split-complementary
#6C176A #3F6C17 #176C43
monochromatic
#190519 #3A0C38 #6C176A #9E229C #D12CCD

Accessibility & contrast

On white

10.67
#6C176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6C176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C176A
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C176A#FFFFFF#000000##FFFFFF
##6C176A1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c176a;
/* rgb */ color: rgb(108, 23, 106);
/* oklch */ color: oklch(38.5% 0.152 329.1);
Tailwind
colors: {
  custom: {
    50: '#995f95',
    500: '#6c176a',
    950: '#000000',
  },
}
SCSS
$custom: #6c176a;
$custom-light: #995f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6c176a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 301.412,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.15221,
    "h": 329.1
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#6C176A
secondary
#3DA23F
accent
#E84440
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C176A

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

Preview Lab → · Contrast checker → · Palette generator →

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