#6C197A#6C197A

#6C197A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.164 H 321.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6C197A
RGBrgb(108, 25, 122)
HSLhsl(291, 66%, 29%)
HSVhsv(291, 80%, 48%)
CMYKcmyk(11.5%, 79.5%, 0%, 52.2%)
CIE-LABlab(27.54, 48.71, -36.49)
CIE-LCHlch(27.54, 60.86, 323.16°)
OKLaboklab(39.69% 0.1278 -0.1022)
OKLCHoklch(39.69% 0.164 321.3)
XYZxyz(10.0444, 5.2891, 18.9004)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C197A #277A19
analogous
#3C197A #6C197A #7A1958
triadic
#6C197A #7A6C19 #197A6C
tetradic
#6C197A #7A3C19 #277A19 #19587A
square
#6C197A #7A3C19 #277A19 #19587A
split-complementary
#6C197A #587A19 #197A3C
monochromatic
#160519 #3F0F47 #6C197A #9923AD #BF37D6

Accessibility & contrast

On white

10.21
#6C197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C197A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C197A#FFFFFF#000000##FFFFFF
##6C197A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#6D2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c197a;
/* rgb */ color: rgb(108, 25, 122);
/* oklch */ color: oklch(39.7% 0.164 321.3);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6c197a',
    950: '#000000',
  },
}
SCSS
$custom: #6c197a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c197a",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 291.34,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.16366,
    "h": 321.3
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#6C197A
secondary
#50AF40
accent
#E93F57
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C197A

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

Preview Lab → · Contrast checker → · Palette generator →

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