#6C176D#6C176D

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

Color values

HEX#6C176D
RGBrgb(108, 23, 109)
HSLhsl(299, 65%, 26%)
HSVhsv(299, 79%, 43%)
CMYKcmyk(0.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(26.46, 46.96, -29.91)
CIE-LCHlch(26.46, 55.67, 327.51°)
OKLaboklab(38.65% 0.1305 -0.083)
OKLCHoklch(38.65% 0.155 327.6)
XYZxyz(9.2509, 4.9057, 14.9247)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C176D #186D17
analogous
#41176D #6C176D #6D1743
triadic
#6C176D #6D6C17 #176D6C
tetradic
#6C176D #6D4117 #186D17 #17436D
square
#6C176D #6D4117 #186D17 #17436D
split-complementary
#6C176D #436D17 #176D41
monochromatic
#190519 #3A0C3A #6C176D #9E22A0 #D02CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C176D#FFFFFF#000000##FFFFFF
##6C176D1.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)
#02386F
Deuteranopia (green-blind)
#2E426B
Tritanopia (blue-blind)
#6F2541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c176d;
/* rgb */ color: rgb(108, 23, 109);
/* oklch */ color: oklch(38.7% 0.155 327.6);
Tailwind
colors: {
  custom: {
    50: '#995f97',
    500: '#6c176d',
    950: '#000000',
  },
}
SCSS
$custom: #6c176d;
$custom-light: #995f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6c176d",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 299.302,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.15467,
    "h": 327.6
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#6C176D
secondary
#3EA33D
accent
#E84042
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C176D

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

Preview Lab → · Contrast checker → · Palette generator →

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