#6D176D#6D176D

#6D176D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.155 H 328.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6D176D
RGBrgb(109, 23, 109)
HSLhsl(300, 65%, 26%)
HSVhsv(300, 79%, 43%)
CMYKcmyk(0%, 78.9%, 0%, 57.3%)
CIE-LABlab(26.65, 47.19, -29.61)
CIE-LCHlch(26.65, 55.71, 327.89°)
OKLaboklab(38.82% 0.1317 -0.0821)
OKLCHoklch(38.82% 0.155 328.1)
XYZxyz(9.3733, 4.9688, 14.9304)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D176D #176D17
analogous
#42176D #6D176D #6D1742
triadic
#6D176D #6D6D17 #176D6D
tetradic
#6D176D #6D4217 #176D17 #17426D
square
#6D176D #6D4217 #176D17 #17426D
split-complementary
#6D176D #426D17 #176D42
monochromatic
#190519 #3A0C3A #6D176D #A022A0 #D22CD2

Accessibility & contrast

On white

10.53
#6D176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D176D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D176D#FFFFFF#000000##FFFFFF
##6D176D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03386F
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#712541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d176d;
/* rgb */ color: rgb(109, 23, 109);
/* oklch */ color: oklch(38.8% 0.155 328.1);
Tailwind
colors: {
  custom: {
    50: '#9a5f97',
    500: '#6d176d',
    950: '#000000',
  },
}
SCSS
$custom: #6d176d;
$custom-light: #9a5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6d176d",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 300,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38817,
    "c": 0.15518,
    "h": 328.1
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#6D176D
secondary
#3DA33D
accent
#E84040
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D176D

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

Preview Lab → · Contrast checker → · Palette generator →

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