#6D197D#6D197D

#6D197D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.167 H 320.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6D197D
RGBrgb(109, 25, 125)
HSLhsl(290, 67%, 29%)
HSVhsv(290, 80%, 49%)
CMYKcmyk(12.8%, 80%, 0%, 51%)
CIE-LABlab(27.92, 49.50, -37.78)
CIE-LCHlch(27.92, 62.26, 322.65°)
OKLaboklab(40.06% 0.1287 -0.1059)
OKLCHoklch(40.06% 0.167 320.5)
XYZxyz(10.3555, 5.4277, 19.9003)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D197D #297D19
analogous
#3B197D #6D197D #7D195B
triadic
#6D197D #7D6D19 #197D6D
tetradic
#6D197D #7D3B19 #297D19 #195B7D
square
#6D197D #7D3B19 #297D19 #195B7D
split-complementary
#6D197D #5B7D19 #197D3B
monochromatic
#16051A #410F4A #6D197D #9923B0 #BE39D7

Accessibility & contrast

On white

10.07
#6D197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6D197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D197D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D197D#FFFFFF#000000##FFFFFF
##6D197D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6E2E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d197d;
/* rgb */ color: rgb(109, 25, 125);
/* oklch */ color: oklch(40.1% 0.167 320.5);
Tailwind
colors: {
  custom: {
    50: '#9a61a3',
    500: '#6d197d',
    950: '#000000',
  },
}
SCSS
$custom: #6d197d;
$custom-light: #9a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d197d",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 290.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.16672,
    "h": 320.5
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#6D197D
secondary
#53B140
accent
#EA3E5A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D197D

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

Preview Lab → · Contrast checker → · Palette generator →

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