#6D198D#6D198D

#6D198D is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.181 H 314.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6D198D
RGBrgb(109, 25, 141)
HSLhsl(283, 70%, 33%)
HSVhsv(283, 82%, 55%)
CMYKcmyk(22.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(29.08, 52.70, -45.91)
CIE-LCHlch(29.08, 69.89, 318.94°)
OKLaboklab(41.24% 0.126 -0.1298)
OKLCHoklch(41.24% 0.181 314.2)
XYZxyz(11.4612, 5.8700, 25.7234)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198D #398D19
analogous
#33198D #6D198D #8D1973
triadic
#6D198D #8D6D19 #198D6D
tetradic
#6D198D #8D3319 #398D19 #19738D
square
#6D198D #8D3319 #398D19 #19738D
split-complementary
#6D198D #738D19 #198D33
monochromatic
#1D0725 #451059 #6D198D #9522C1 #B343DE

Accessibility & contrast

On white

9.66
#6D198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D198D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198D#FFFFFF#000000##FFFFFF
##6D198D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#0C468B
Tritanopia (blue-blind)
#6A3654
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d198d;
/* rgb */ color: rgb(109, 25, 141);
/* oklch */ color: oklch(41.2% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#9b61af',
    500: '#6d198d',
    950: '#000000',
  },
}
SCSS
$custom: #6d198d;
$custom-light: #9b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198d",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 283.448,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41244,
    "c": 0.18093,
    "h": 314.2
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#6D198D
secondary
#65BF43
accent
#ED3B6C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D198D

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

Preview Lab → · Contrast checker → · Palette generator →

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