#6D177F#6D177F

#6D177F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.170 H 319.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#6D177F
RGBrgb(109, 23, 127)
HSLhsl(290, 69%, 29%)
HSVhsv(290, 82%, 50%)
CMYKcmyk(14.2%, 81.9%, 0%, 50.2%)
CIE-LABlab(27.84, 50.53, -39.17)
CIE-LCHlch(27.84, 63.93, 322.22°)
OKLaboklab(40.04% 0.1302 -0.11)
OKLCHoklch(40.04% 0.17 319.8)
XYZxyz(10.4434, 5.3969, 20.5662)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D177F #297F17
analogous
#39177F #6D177F #7F175D
triadic
#6D177F #7F6D17 #177F6D
tetradic
#6D177F #7F3917 #297F17 #175D7F
square
#6D177F #7F3917 #297F17 #175D7F
split-complementary
#6D177F #5D7F17 #177F39
monochromatic
#16051A #410E4B #6D177F #9920B3 #BE36DB

Accessibility & contrast

On white

10.10
#6D177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D177F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D177F#FFFFFF#000000##FFFFFF
##6D177F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#6D2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d177f;
/* rgb */ color: rgb(109, 23, 127);
/* oklch */ color: oklch(40.0% 0.170 319.8);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6d177f',
    950: '#000000',
  },
}
SCSS
$custom: #6d177f;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d177f",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 289.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.17043,
    "h": 319.8
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#6D177F
secondary
#53B43E
accent
#EC3C5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D177F

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

Preview Lab → · Contrast checker → · Palette generator →

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