#6C197C#6C197C

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

Color values

HEX#6C197C
RGBrgb(108, 25, 124)
HSLhsl(290, 66%, 29%)
HSVhsv(290, 80%, 49%)
CMYKcmyk(12.9%, 79.8%, 0%, 51.4%)
CIE-LABlab(27.68, 49.09, -37.54)
CIE-LCHlch(27.68, 61.80, 322.60°)
OKLaboklab(39.83% 0.1276 -0.1053)
OKLCHoklch(39.83% 0.165 320.5)
XYZxyz(10.1696, 5.3392, 19.5598)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C197C #297C19
analogous
#3B197C #6C197C #7C195B
triadic
#6C197C #7C6C19 #197C6C
tetradic
#6C197C #7C3B19 #297C19 #195B7C
square
#6C197C #7C3B19 #297C19 #195B7C
split-complementary
#6C197C #5B7C19 #197C3B
monochromatic
#160519 #400F49 #6C197C #9823AF #BD38D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C197C#FFFFFF#000000##FFFFFF
##6C197C1.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)
#003C7F
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#6D2E4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c197c;
/* rgb */ color: rgb(108, 25, 124);
/* oklch */ color: oklch(39.8% 0.165 320.5);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6c197c',
    950: '#000000',
  },
}
SCSS
$custom: #6c197c;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c197c",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 290.303,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39832,
    "c": 0.16542,
    "h": 320.5
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#6C197C
secondary
#53B040
accent
#E93E5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C197C

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

Preview Lab → · Contrast checker → · Palette generator →

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