#6D198F#6D198F

#6D198F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.183 H 313.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6D198F
RGBrgb(109, 25, 143)
HSLhsl(283, 70%, 33%)
HSVhsv(283, 83%, 56%)
CMYKcmyk(23.8%, 82.5%, 0%, 43.9%)
CIE-LABlab(29.24, 53.12, -46.90)
CIE-LCHlch(29.24, 70.86, 318.56°)
OKLaboklab(41.4% 0.1256 -0.1327)
OKLCHoklch(41.4% 0.183 313.4)
XYZxyz(11.6114, 5.9300, 26.5142)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198F #3B8F19
analogous
#32198F #6D198F #8F1976
triadic
#6D198F #8F6D19 #198F6D
tetradic
#6D198F #8F3219 #3B8F19 #19768F
square
#6D198F #8F3219 #3B8F19 #19768F
split-complementary
#6D198F #768F19 #198F32
monochromatic
#1E0727 #45105B #6D198F #9522C3 #B244DE

Accessibility & contrast

On white

9.61
#6D198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6D198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D198F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198F#FFFFFF#000000##FFFFFF
##6D198F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#06478D
Tritanopia (blue-blind)
#693755
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d198f;
/* rgb */ color: rgb(109, 25, 143);
/* oklch */ color: oklch(41.4% 0.183 313.4);
Tailwind
colors: {
  custom: {
    50: '#9b62b1',
    500: '#6d198f',
    950: '#000000',
  },
}
SCSS
$custom: #6d198f;
$custom-light: #9b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198f",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 282.712,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.18273,
    "h": 313.4
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#6D198F
secondary
#68BF44
accent
#ED3B6E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D198F

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

Preview Lab → · Contrast checker → · Palette generator →

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