#6D198A#6D198A

#6D198A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.178 H 315.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6D198A
RGBrgb(109, 25, 138)
HSLhsl(285, 69%, 32%)
HSVhsv(285, 82%, 54%)
CMYKcmyk(21%, 81.9%, 0%, 45.9%)
CIE-LABlab(28.86, 52.09, -44.41)
CIE-LCHlch(28.86, 68.45, 319.55°)
OKLaboklab(41.01% 0.1266 -0.1254)
OKLCHoklch(41.01% 0.178 315.3)
XYZxyz(11.2410, 5.7819, 24.5637)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198A #368A19
analogous
#35198A #6D198A #8A196F
triadic
#6D198A #8A6D19 #198A6D
tetradic
#6D198A #8A3519 #368A19 #196F8A
square
#6D198A #8A3519 #368A19 #196F8A
split-complementary
#6D198A #6F8A19 #198A35
monochromatic
#1B0622 #441056 #6D198A #9622BE #B541DD

Accessibility & contrast

On white

9.74
#6D198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6D198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D198A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198A#FFFFFF#000000##FFFFFF
##6D198A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#134688
Tritanopia (blue-blind)
#6B3452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d198a;
/* rgb */ color: rgb(109, 25, 138);
/* oklch */ color: oklch(41.0% 0.178 315.3);
Tailwind
colors: {
  custom: {
    50: '#9b61ad',
    500: '#6d198a',
    950: '#000000',
  },
}
SCSS
$custom: #6d198a;
$custom-light: #9b61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198a",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 284.602,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.17824,
    "h": 315.3
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#6D198A
secondary
#61BD42
accent
#EC3C69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D198A

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

Preview Lab → · Contrast checker → · Palette generator →

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