#6C177A#6C177A

#6C177A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.166 H 321.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#6C177A
RGBrgb(108, 23, 122)
HSLhsl(292, 68%, 28%)
HSVhsv(292, 81%, 48%)
CMYKcmyk(11.5%, 81.1%, 0%, 52.2%)
CIE-LABlab(27.32, 49.36, -36.86)
CIE-LCHlch(27.32, 61.61, 323.25°)
OKLaboklab(39.53% 0.1296 -0.1033)
OKLCHoklch(39.53% 0.166 321.4)
XYZxyz(10.0032, 5.2066, 18.8867)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C177A #257A17
analogous
#3A177A #6C177A #7A1756
triadic
#6C177A #7A6C17 #177A6C
tetradic
#6C177A #7A3A17 #257A17 #17567A
square
#6C177A #7A3A17 #257A17 #17567A
split-complementary
#6C177A #567A17 #177A3A
monochromatic
#17051A #3E0D47 #6C177A #9A21AD #C133D9

Accessibility & contrast

On white

10.29
#6C177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C177A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C177A#FFFFFF#000000##FFFFFF
##6C177A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#6D2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c177a;
/* rgb */ color: rgb(108, 23, 122);
/* oklch */ color: oklch(39.5% 0.166 321.4);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6c177a',
    950: '#000000',
  },
}
SCSS
$custom: #6c177a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c177a",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 291.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.1657,
    "h": 321.4
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#6C177A
secondary
#4EAF3E
accent
#EB3D55
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C177A

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

Preview Lab → · Contrast checker → · Palette generator →

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