#6C197B#6C197B

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

Color values

HEX#6C197B
RGBrgb(108, 25, 123)
HSLhsl(291, 66%, 29%)
HSVhsv(291, 80%, 48%)
CMYKcmyk(12.2%, 79.7%, 0%, 51.8%)
CIE-LABlab(27.61, 48.90, -37.02)
CIE-LCHlch(27.61, 61.33, 322.87°)
OKLaboklab(39.76% 0.1277 -0.1038)
OKLCHoklch(39.76% 0.165 320.9)
XYZxyz(10.1067, 5.3140, 19.2284)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C197B #287B19
analogous
#3B197B #6C197B #7B1959
triadic
#6C197B #7B6C19 #197B6C
tetradic
#6C197B #7B3B19 #287B19 #19597B
square
#6C197B #7B3B19 #287B19 #19597B
split-complementary
#6C197B #597B19 #197B3B
monochromatic
#160519 #3F0F48 #6C197B #9923AE #BE38D7

Accessibility & contrast

On white

10.18
#6C197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C197B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C197B#FFFFFF#000000##FFFFFF
##6C197B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c197b;
/* rgb */ color: rgb(108, 25, 123);
/* oklch */ color: oklch(39.8% 0.165 320.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6c197b',
    950: '#000000',
  },
}
SCSS
$custom: #6c197b;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c197b",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 290.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.16454,
    "h": 320.9
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#6C197B
secondary
#51AF40
accent
#E93F59
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C197B

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

Preview Lab → · Contrast checker → · Palette generator →

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