#6C197D#6C197D

#6C197D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.166 H 320.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6C197D
RGBrgb(108, 25, 125)
HSLhsl(290, 67%, 29%)
HSVhsv(290, 80%, 49%)
CMYKcmyk(13.6%, 80%, 0%, 51%)
CIE-LABlab(27.75, 49.29, -38.06)
CIE-LCHlch(27.75, 62.27, 322.33°)
OKLaboklab(39.9% 0.1275 -0.1068)
OKLCHoklch(39.9% 0.166 320)
XYZxyz(10.2332, 5.3646, 19.8945)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C197D #2A7D19
analogous
#3A197D #6C197D #7D195C
triadic
#6C197D #7D6C19 #197D6C
tetradic
#6C197D #7D3A19 #2A7D19 #195C7D
square
#6C197D #7D3A19 #2A7D19 #195C7D
split-complementary
#6C197D #5C7D19 #197D3A
monochromatic
#16051A #400F4A #6C197D #9823B0 #BC39D7

Accessibility & contrast

On white

10.13
#6C197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C197D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C197D#FFFFFF#000000##FFFFFF
##6C197D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#6C2E4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c197d;
/* rgb */ color: rgb(108, 25, 125);
/* oklch */ color: oklch(39.9% 0.166 320.0);
Tailwind
colors: {
  custom: {
    50: '#9a60a3',
    500: '#6c197d',
    950: '#000000',
  },
}
SCSS
$custom: #6c197d;
$custom-light: #9a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c197d",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 289.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.1663,
    "h": 320
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#6C197D
secondary
#54B140
accent
#EA3E5B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C197D

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

Preview Lab → · Contrast checker → · Palette generator →

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