#6D177A#6D177A

#6D177A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.166 H 321.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6D177A
RGBrgb(109, 23, 122)
HSLhsl(292, 68%, 28%)
HSVhsv(292, 81%, 48%)
CMYKcmyk(10.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(27.49, 49.57, -36.57)
CIE-LCHlch(27.49, 61.60, 323.58°)
OKLaboklab(39.69% 0.1308 -0.1024)
OKLCHoklch(39.69% 0.166 321.9)
XYZxyz(10.1255, 5.2697, 18.8924)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D177A #247A17
analogous
#3B177A #6D177A #7A1755
triadic
#6D177A #7A6D17 #177A6D
tetradic
#6D177A #7A3B17 #247A17 #17557A
square
#6D177A #7A3B17 #247A17 #17557A
split-complementary
#6D177A #557A17 #177A3B
monochromatic
#17051A #3F0D47 #6D177A #9B21AD #C333D9

Accessibility & contrast

On white

10.22
#6D177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D177A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D177A#FFFFFF#000000##FFFFFF
##6D177A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#6E2C49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d177a;
/* rgb */ color: rgb(109, 23, 122);
/* oklch */ color: oklch(39.7% 0.166 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6d177a',
    950: '#000000',
  },
}
SCSS
$custom: #6d177a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d177a",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 292.121,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.16612,
    "h": 321.9
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#6D177A
secondary
#4DAF3E
accent
#EB3D54
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D177A

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

Preview Lab → · Contrast checker → · Palette generator →

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