#6C177F#6C177F

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

Color values

HEX#6C177F
RGBrgb(108, 23, 127)
HSLhsl(289, 69%, 29%)
HSVhsv(289, 82%, 50%)
CMYKcmyk(15%, 81.9%, 0%, 50.2%)
CIE-LABlab(27.67, 50.33, -39.46)
CIE-LCHlch(27.67, 63.95, 321.90°)
OKLaboklab(39.89% 0.1289 -0.1109)
OKLCHoklch(39.89% 0.17 319.3)
XYZxyz(10.3210, 5.3338, 20.5604)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C177F #2A7F17
analogous
#38177F #6C177F #7F175E
triadic
#6C177F #7F6C17 #177F6C
tetradic
#6C177F #7F3817 #2A7F17 #175E7F
square
#6C177F #7F3817 #2A7F17 #175E7F
split-complementary
#6C177F #5E7F17 #177F38
monochromatic
#16051A #400E4B #6C177F #9820B3 #BC36DB

Accessibility & contrast

On white

10.16
#6C177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C177F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C177F#FFFFFF#000000##FFFFFF
##6C177F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#6C2E4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c177f;
/* rgb */ color: rgb(108, 23, 127);
/* oklch */ color: oklch(39.9% 0.170 319.3);
Tailwind
colors: {
  custom: {
    50: '#9a60a5',
    500: '#6c177f',
    950: '#000000',
  },
}
SCSS
$custom: #6c177f;
$custom-light: #9a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c177f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 289.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.17003,
    "h": 319.3
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#6C177F
secondary
#54B43E
accent
#EC3C5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C177F

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

Preview Lab → · Contrast checker → · Palette generator →

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