#6D176E#6D176E

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

Color values

HEX#6D176E
RGBrgb(109, 23, 110)
HSLhsl(299, 65%, 26%)
HSVhsv(299, 79%, 43%)
CMYKcmyk(0.9%, 79.1%, 0%, 56.9%)
CIE-LABlab(26.71, 47.36, -30.15)
CIE-LCHlch(26.71, 56.15, 327.52°)
OKLaboklab(38.88% 0.1317 -0.0837)
OKLCHoklch(38.88% 0.156 327.6)
XYZxyz(9.4274, 4.9905, 15.2155)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D176E #186E17
analogous
#41176E #6D176E #6E1743
triadic
#6D176E #6E6D17 #176E6D
tetradic
#6D176E #6E4117 #186E17 #17436E
square
#6D176E #6E4117 #186E17 #17436E
split-complementary
#6D176E #436E17 #176E41
monochromatic
#190519 #3B0C3B #6D176E #9F22A1 #D12CD3

Accessibility & contrast

On white

10.51
#6D176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D176E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D176E#FFFFFF#000000##FFFFFF
##6D176E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d176e;
/* rgb */ color: rgb(109, 23, 110);
/* oklch */ color: oklch(38.9% 0.156 327.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f98',
    500: '#6d176e',
    950: '#000000',
  },
}
SCSS
$custom: #6d176e;
$custom-light: #9a5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6d176e",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 299.31,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38881,
    "c": 0.15601,
    "h": 327.6
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#6D176E
secondary
#3EA43D
accent
#E83F41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D176E

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

Preview Lab → · Contrast checker → · Palette generator →

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