#6C198C#6C198C

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

Color values

HEX#6C198C
RGBrgb(108, 25, 140)
HSLhsl(283, 70%, 32%)
HSVhsv(283, 82%, 55%)
CMYKcmyk(22.9%, 82.1%, 0%, 45.1%)
CIE-LABlab(28.84, 52.31, -45.68)
CIE-LCHlch(28.84, 69.45, 318.87°)
OKLaboklab(41.02% 0.1249 -0.1292)
OKLCHoklch(41.02% 0.18 314)
XYZxyz(11.2648, 5.7772, 25.3276)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C198C #398C19
analogous
#32198C #6C198C #8C1973
triadic
#6C198C #8C6C19 #198C6C
tetradic
#6C198C #8C3219 #398C19 #19738C
square
#6C198C #8C3219 #398C19 #19738C
split-complementary
#6C198C #738C19 #198C32
monochromatic
#1C0624 #441058 #6C198C #9422C0 #B242DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C198C#FFFFFF#000000##FFFFFF
##6C198C1.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)
#00408F
Deuteranopia (green-blind)
#0C468A
Tritanopia (blue-blind)
#693553
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c198c;
/* rgb */ color: rgb(108, 25, 140);
/* oklch */ color: oklch(41.0% 0.180 314.0);
Tailwind
colors: {
  custom: {
    50: '#9a61ae',
    500: '#6c198c',
    950: '#000000',
  },
}
SCSS
$custom: #6c198c;
$custom-light: #9a61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6c198c",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 283.304,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4102,
    "c": 0.17969,
    "h": 314
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#6C198C
secondary
#65BE43
accent
#ED3B6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6C198C

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

Preview Lab → · Contrast checker → · Palette generator →

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