#6D198B#6D198B

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

Color values

HEX#6D198B
RGBrgb(109, 25, 139)
HSLhsl(284, 70%, 32%)
HSVhsv(284, 82%, 55%)
CMYKcmyk(21.6%, 82%, 0%, 45.5%)
CIE-LABlab(28.93, 52.29, -44.91)
CIE-LCHlch(28.93, 68.93, 319.34°)
OKLaboklab(41.09% 0.1264 -0.1269)
OKLCHoklch(41.09% 0.179 314.9)
XYZxyz(11.3137, 5.8110, 24.9468)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198B #378B19
analogous
#34198B #6D198B #8B1970
triadic
#6D198B #8B6D19 #198B6D
tetradic
#6D198B #8B3419 #378B19 #19708B
square
#6D198B #8B3419 #378B19 #19708B
split-complementary
#6D198B #708B19 #198B34
monochromatic
#1C0623 #441057 #6D198B #9622BF #B441DD

Accessibility & contrast

On white

9.71
#6D198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D198B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198B#FFFFFF#000000##FFFFFF
##6D198B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#6A3553
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d198b;
/* rgb */ color: rgb(109, 25, 139);
/* oklch */ color: oklch(41.1% 0.179 314.9);
Tailwind
colors: {
  custom: {
    50: '#9b61ae',
    500: '#6d198b',
    950: '#000000',
  },
}
SCSS
$custom: #6d198b;
$custom-light: #9b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198b",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 284.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.17913,
    "h": 314.9
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#6D198B
secondary
#63BE42
accent
#EC3B6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D198B

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

Preview Lab → · Contrast checker → · Palette generator →

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