#6D177B#6D177B

#6D177B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.167 H 321.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6D177B
RGBrgb(109, 23, 123)
HSLhsl(292, 68%, 29%)
HSVhsv(292, 81%, 48%)
CMYKcmyk(11.4%, 81.3%, 0%, 51.8%)
CIE-LABlab(27.56, 49.76, -37.09)
CIE-LCHlch(27.56, 62.06, 323.30°)
OKLaboklab(39.76% 0.1307 -0.1039)
OKLCHoklch(39.76% 0.167 321.5)
XYZxyz(10.1878, 5.2946, 19.2204)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D177B #257B17
analogous
#3B177B #6D177B #7B1757
triadic
#6D177B #7B6D17 #177B6D
tetradic
#6D177B #7B3B17 #257B17 #17577B
square
#6D177B #7B3B17 #257B17 #17577B
split-complementary
#6D177B #577B17 #177B3B
monochromatic
#17051A #3F0D47 #6D177B #9B21AF #C233D9

Accessibility & contrast

On white

10.20
#6D177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D177B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D177B#FFFFFF#000000##FFFFFF
##6D177B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d177b;
/* rgb */ color: rgb(109, 23, 123);
/* oklch */ color: oklch(39.8% 0.167 321.5);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6d177b',
    950: '#000000',
  },
}
SCSS
$custom: #6d177b;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d177b",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 291.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.16698,
    "h": 321.5
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#6D177B
secondary
#4EB03E
accent
#EB3C55
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D177B

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

Preview Lab → · Contrast checker → · Palette generator →

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