#6D198C#6D198C

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

Color values

HEX#6D198C
RGBrgb(109, 25, 140)
HSLhsl(284, 70%, 32%)
HSVhsv(284, 82%, 55%)
CMYKcmyk(22.1%, 82.1%, 0%, 45.1%)
CIE-LABlab(29.01, 52.50, -45.41)
CIE-LCHlch(29.01, 69.41, 319.14°)
OKLaboklab(41.17% 0.1262 -0.1284)
OKLCHoklch(41.17% 0.18 314.5)
XYZxyz(11.3871, 5.8403, 25.3333)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198C #388C19
analogous
#33198C #6D198C #8C1972
triadic
#6D198C #8C6D19 #198C6D
tetradic
#6D198C #8C3319 #388C19 #19728C
square
#6D198C #8C3319 #388C19 #19728C
split-complementary
#6D198C #728C19 #198C33
monochromatic
#1C0624 #451058 #6D198C #9522C0 #B342DD

Accessibility & contrast

On white

9.69
#6D198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D198C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198C#FFFFFF#000000##FFFFFF
##6D198C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#0F468A
Tritanopia (blue-blind)
#6A3553
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d198c;
/* rgb */ color: rgb(109, 25, 140);
/* oklch */ color: oklch(41.2% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#9b61ae',
    500: '#6d198c',
    950: '#000000',
  },
}
SCSS
$custom: #6d198c;
$custom-light: #9b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198c",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 283.826,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.18004,
    "h": 314.5
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#6D198C
secondary
#64BE43
accent
#ED3B6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D198C

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

Preview Lab → · Contrast checker → · Palette generator →

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