#6D176F#6D176F

#6D176F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.157 H 327.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#6D176F
RGBrgb(109, 23, 111)
HSLhsl(299, 66%, 26%)
HSVhsv(299, 79%, 44%)
CMYKcmyk(1.8%, 79.3%, 0%, 56.5%)
CIE-LABlab(26.77, 47.54, -30.70)
CIE-LCHlch(26.77, 56.59, 327.15°)
OKLaboklab(38.95% 0.1316 -0.0853)
OKLCHoklch(38.95% 0.157 327.1)
XYZxyz(9.4822, 5.0124, 15.5039)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D176F #196F17
analogous
#41176F #6D176F #6F1745
triadic
#6D176F #6F6D17 #176F6D
tetradic
#6D176F #6F4117 #196F17 #17456F
square
#6D176F #6F4117 #196F17 #17456F
split-complementary
#6D176F #456F17 #176F41
monochromatic
#190519 #3B0C3C #6D176F #9F22A2 #D02DD3

Accessibility & contrast

On white

10.49
#6D176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6D176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D176F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D176F#FFFFFF#000000##FFFFFF
##6D176F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#702642
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d176f;
/* rgb */ color: rgb(109, 23, 111);
/* oklch */ color: oklch(38.9% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#9a5f99',
    500: '#6d176f',
    950: '#000000',
  },
}
SCSS
$custom: #6d176f;
$custom-light: #9a5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6d176f",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 298.636,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.15683,
    "h": 327.1
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#6D176F
secondary
#3FA53D
accent
#E93F43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D176F

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

Preview Lab → · Contrast checker → · Palette generator →

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