#6F198A#6F198A

#6F198A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.179 H 316.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6F198A
RGBrgb(111, 25, 138)
HSLhsl(286, 69%, 32%)
HSVhsv(286, 82%, 54%)
CMYKcmyk(19.6%, 81.9%, 0%, 45.9%)
CIE-LABlab(29.18, 52.47, -43.87)
CIE-LCHlch(29.18, 68.39, 320.10°)
OKLaboklab(41.31% 0.1293 -0.1237)
OKLCHoklch(41.31% 0.179 316.3)
XYZxyz(11.4899, 5.9102, 24.5754)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F198A #348A19
analogous
#37198A #6F198A #8A196D
triadic
#6F198A #8A6F19 #198A6F
tetradic
#6F198A #8A3719 #348A19 #196D8A
square
#6F198A #8A3719 #348A19 #196D8A
split-complementary
#6F198A #6D8A19 #198A37
monochromatic
#1C0622 #451056 #6F198A #9922BE #B741DD

Accessibility & contrast

On white

9.62
#6F198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F198A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F198A#FFFFFF#000000##FFFFFF
##6F198A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#6D3452
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f198a;
/* rgb */ color: rgb(111, 25, 138);
/* oklch */ color: oklch(41.3% 0.179 316.3);
Tailwind
colors: {
  custom: {
    50: '#9c62ad',
    500: '#6f198a',
    950: '#000000',
  },
}
SCSS
$custom: #6f198a;
$custom-light: #9c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f198a",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 285.664,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.17895,
    "h": 316.3
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#6F198A
secondary
#5FBD42
accent
#EC3C66
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F198A

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

Preview Lab → · Contrast checker → · Palette generator →

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