#6D197A#6D197A

#6D197A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.164 H 321.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6D197A
RGBrgb(109, 25, 122)
HSLhsl(292, 66%, 29%)
HSVhsv(292, 80%, 48%)
CMYKcmyk(10.7%, 79.5%, 0%, 52.2%)
CIE-LABlab(27.72, 48.92, -36.21)
CIE-LCHlch(27.72, 60.86, 323.49°)
OKLaboklab(39.85% 0.1291 -0.1013)
OKLCHoklch(39.85% 0.164 321.9)
XYZxyz(10.1668, 5.3522, 18.9061)
Luminance0.0535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D197A #267A19
analogous
#3D197A #6D197A #7A1957
triadic
#6D197A #7A6D19 #197A6D
tetradic
#6D197A #7A3D19 #267A19 #19577A
square
#6D197A #7A3D19 #267A19 #19577A
split-complementary
#6D197A #577A19 #197A3D
monochromatic
#170519 #400F47 #6D197A #9A23AD #C137D6

Accessibility & contrast

On white

10.14
#6D197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D197A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D197A#FFFFFF#000000##FFFFFF
##6D197A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#274478
Tritanopia (blue-blind)
#6E2D49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d197a;
/* rgb */ color: rgb(109, 25, 122);
/* oklch */ color: oklch(39.8% 0.164 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6d197a',
    950: '#000000',
  },
}
SCSS
$custom: #6d197a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d197a",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 291.959,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.16409,
    "h": 321.9
  },
  "luminance": 0.05352
}

Semantic roles & 50–950 ramp

primary
#6D197A
secondary
#4FAF40
accent
#E93F56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6D197A

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

Preview Lab → · Contrast checker → · Palette generator →

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