#6E198A#6E198A

#6E198A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.179 H 315.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6E198A
RGBrgb(110, 25, 138)
HSLhsl(285, 69%, 32%)
HSVhsv(285, 82%, 54%)
CMYKcmyk(20.3%, 81.9%, 0%, 45.9%)
CIE-LABlab(29.02, 52.28, -44.14)
CIE-LCHlch(29.02, 68.42, 319.82°)
OKLaboklab(41.16% 0.128 -0.1246)
OKLCHoklch(41.16% 0.179 315.8)
XYZxyz(11.3648, 5.8457, 24.5695)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E198A #358A19
analogous
#36198A #6E198A #8A196E
triadic
#6E198A #8A6E19 #198A6E
tetradic
#6E198A #8A3619 #358A19 #196E8A
square
#6E198A #8A3619 #358A19 #196E8A
split-complementary
#6E198A #6E8A19 #198A36
monochromatic
#1B0622 #451056 #6E198A #9722BE #B641DD

Accessibility & contrast

On white

9.68
#6E198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E198A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E198A#FFFFFF#000000##FFFFFF
##6E198A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#6C3452
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e198a;
/* rgb */ color: rgb(110, 25, 138);
/* oklch */ color: oklch(41.2% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#9c61ad',
    500: '#6e198a',
    950: '#000000',
  },
}
SCSS
$custom: #6e198a;
$custom-light: #9c61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e198a",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 285.133,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41161,
    "c": 0.17859,
    "h": 315.8
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#6E198A
secondary
#60BD42
accent
#EC3C67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E198A

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

Preview Lab → · Contrast checker → · Palette generator →

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