#6D176C#6D176C

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

Color values

HEX#6D176C
RGBrgb(109, 23, 108)
HSLhsl(301, 65%, 26%)
HSVhsv(301, 79%, 43%)
CMYKcmyk(0%, 78.9%, 0.9%, 57.3%)
CIE-LABlab(26.58, 47.01, -29.06)
CIE-LCHlch(26.58, 55.27, 328.28°)
OKLaboklab(38.75% 0.1317 -0.0805)
OKLCHoklch(38.75% 0.154 328.6)
XYZxyz(9.3197, 4.9474, 14.6485)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D176C #176D18
analogous
#43176D #6D176C #6D1741
triadic
#6D176C #6C6D17 #176C6D
tetradic
#6D176C #6D4317 #176D18 #17416D
square
#6D176C #6D4317 #176D18 #17416D
split-complementary
#6D176C #416D17 #176D43
monochromatic
#190519 #3A0C3A #6D176C #A0229E #D22CD0

Accessibility & contrast

On white

10.56
#6D176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D176C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D176C#FFFFFF#000000##FFFFFF
##6D176C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#30436A
Tritanopia (blue-blind)
#712541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d176c;
/* rgb */ color: rgb(109, 23, 108);
/* oklch */ color: oklch(38.8% 0.154 328.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f96',
    500: '#6d176c',
    950: '#000000',
  },
}
SCSS
$custom: #6d176c;
$custom-light: #9a5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6d176c",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 300.698,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.15436,
    "h": 328.6
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D176C

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

Preview Lab → · Contrast checker → · Palette generator →

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