#6C176B#6C176B

#6C176B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.153 H 328.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#6C176B
RGBrgb(108, 23, 107)
HSLhsl(301, 65%, 26%)
HSVhsv(301, 79%, 42%)
CMYKcmyk(0%, 78.7%, 0.9%, 57.6%)
CIE-LABlab(26.34, 46.60, -28.81)
CIE-LCHlch(26.34, 54.79, 328.28°)
OKLaboklab(38.53% 0.1306 -0.0798)
OKLCHoklch(38.53% 0.153 328.6)
XYZxyz(9.1445, 4.8632, 14.3641)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C176B #176C18
analogous
#42176C #6C176B #6C1740
triadic
#6C176B #6B6C17 #176B6C
tetradic
#6C176B #6C4217 #176C18 #17406C
square
#6C176B #6C4217 #176C18 #17406C
split-complementary
#6C176B #406C17 #176C42
monochromatic
#190519 #3A0C39 #6C176B #9E229D #D12CCF

Accessibility & contrast

On white

10.65
#6C176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C176B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C176B#FFFFFF#000000##FFFFFF
##6C176B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c176b;
/* rgb */ color: rgb(108, 23, 107);
/* oklch */ color: oklch(38.5% 0.153 328.6);
Tailwind
colors: {
  custom: {
    50: '#995f96',
    500: '#6c176b',
    950: '#000000',
  },
}
SCSS
$custom: #6c176b;
$custom-light: #995f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c176b",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 300.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.15302,
    "h": 328.6
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#6C176B
secondary
#3DA23E
accent
#E84240
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C176B

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

Preview Lab → · Contrast checker → · Palette generator →

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