#6D197F#6D197F

#6D197F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.168 H 319.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6D197F
RGBrgb(109, 25, 127)
HSLhsl(289, 67%, 30%)
HSVhsv(289, 80%, 50%)
CMYKcmyk(14.2%, 80.3%, 0%, 50.2%)
CIE-LABlab(28.06, 49.89, -38.81)
CIE-LCHlch(28.06, 63.21, 322.12°)
OKLaboklab(40.2% 0.1285 -0.109)
OKLCHoklch(40.2% 0.168 319.7)
XYZxyz(10.4846, 5.4793, 20.5799)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D197F #2B7F19
analogous
#3A197F #6D197F #7F195E
triadic
#6D197F #7F6D19 #197F6D
tetradic
#6D197F #7F3A19 #2B7F19 #195E7F
square
#6D197F #7F3A19 #2B7F19 #195E7F
split-complementary
#6D197F #5E7F19 #197F3A
monochromatic
#16051A #410F4C #6D197F #9923B2 #BC3AD8

Accessibility & contrast

On white

10.02
#6D197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6D197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D197F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D197F#FFFFFF#000000##FFFFFF
##6D197F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#6D2F4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d197f;
/* rgb */ color: rgb(109, 25, 127);
/* oklch */ color: oklch(40.2% 0.168 319.7);
Tailwind
colors: {
  custom: {
    50: '#9a61a5',
    500: '#6d197f',
    950: '#000000',
  },
}
SCSS
$custom: #6d197f;
$custom-light: #9a61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d197f",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 289.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.402,
    "c": 0.16847,
    "h": 319.7
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#6D197F
secondary
#55B341
accent
#EA3E5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D197F

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

Preview Lab → · Contrast checker → · Palette generator →

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