#6D197C#6D197C

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

Color values

HEX#6D197C
RGBrgb(109, 25, 124)
HSLhsl(291, 66%, 29%)
HSVhsv(291, 80%, 49%)
CMYKcmyk(12.1%, 79.8%, 0%, 51.4%)
CIE-LABlab(27.85, 49.30, -37.25)
CIE-LCHlch(27.85, 61.80, 322.92°)
OKLaboklab(39.99% 0.1288 -0.1044)
OKLCHoklch(39.99% 0.166 321)
XYZxyz(10.2920, 5.4023, 19.5655)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D197C #287C19
analogous
#3C197C #6D197C #7C195A
triadic
#6D197C #7C6D19 #197C6D
tetradic
#6D197C #7C3C19 #287C19 #195A7C
square
#6D197C #7C3C19 #287C19 #195A7C
split-complementary
#6D197C #5A7C19 #197C3C
monochromatic
#160519 #400F49 #6D197C #9A23AF #BF38D7

Accessibility & contrast

On white

10.09
#6D197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D197C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D197C#FFFFFF#000000##FFFFFF
##6D197C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#6E2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d197c;
/* rgb */ color: rgb(109, 25, 124);
/* oklch */ color: oklch(40.0% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#9a61a2',
    500: '#6d197c',
    950: '#000000',
  },
}
SCSS
$custom: #6d197c;
$custom-light: #9a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d197c",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 290.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.16584,
    "h": 321
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#6D197C
secondary
#51B040
accent
#E93E58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D197C

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

Preview Lab → · Contrast checker → · Palette generator →

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