#6D177D#6D177D

#6D177D is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.169 H 320.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#6D177D
RGBrgb(109, 23, 125)
HSLhsl(291, 69%, 29%)
HSVhsv(291, 82%, 49%)
CMYKcmyk(12.8%, 81.6%, 0%, 51%)
CIE-LABlab(27.70, 50.14, -38.14)
CIE-LCHlch(27.70, 63.00, 322.75°)
OKLaboklab(39.9% 0.1304 -0.107)
OKLCHoklch(39.9% 0.169 320.6)
XYZxyz(10.3143, 5.3452, 19.8865)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D177D #277D17
analogous
#3A177D #6D177D #7D175A
triadic
#6D177D #7D6D17 #177D6D
tetradic
#6D177D #7D3A17 #277D17 #175A7D
square
#6D177D #7D3A17 #277D17 #175A7D
split-complementary
#6D177D #5A7D17 #177D3A
monochromatic
#17051A #400D49 #6D177D #9A21B1 #C035DA

Accessibility & contrast

On white

10.15
#6D177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D177D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D177D#FFFFFF#000000##FFFFFF
##6D177D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#6E2D4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d177d;
/* rgb */ color: rgb(109, 23, 125);
/* oklch */ color: oklch(39.9% 0.169 320.6);
Tailwind
colors: {
  custom: {
    50: '#9a60a3',
    500: '#6d177d',
    950: '#000000',
  },
}
SCSS
$custom: #6d177d;
$custom-light: #9a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d177d",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 290.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.16871,
    "h": 320.6
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#6D177D
secondary
#50B23E
accent
#EC3C58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D177D

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

Preview Lab → · Contrast checker → · Palette generator →

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