#6D198E#6D198E

#6D198E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.182 H 313.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6D198E
RGBrgb(109, 25, 142)
HSLhsl(283, 70%, 33%)
HSVhsv(283, 82%, 56%)
CMYKcmyk(23.2%, 82.4%, 0%, 44.3%)
CIE-LABlab(29.16, 52.91, -46.41)
CIE-LCHlch(29.16, 70.38, 318.75°)
OKLaboklab(41.32% 0.1258 -0.1313)
OKLCHoklch(41.32% 0.182 313.8)
XYZxyz(11.5359, 5.8999, 26.1171)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D198E #3A8E19
analogous
#32198E #6D198E #8E1974
triadic
#6D198E #8E6D19 #198E6D
tetradic
#6D198E #8E3219 #3A8E19 #19748E
square
#6D198E #8E3219 #3A8E19 #19748E
split-complementary
#6D198E #748E19 #198E32
monochromatic
#1D0726 #45105A #6D198E #9522C2 #B243DE

Accessibility & contrast

On white

9.63
#6D198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6D198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D198E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D198E#FFFFFF#000000##FFFFFF
##6D198E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#09478C
Tritanopia (blue-blind)
#6A3654
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d198e;
/* rgb */ color: rgb(109, 25, 142);
/* oklch */ color: oklch(41.3% 0.182 313.8);
Tailwind
colors: {
  custom: {
    50: '#9b62b0',
    500: '#6d198e',
    950: '#000000',
  },
}
SCSS
$custom: #6d198e;
$custom-light: #9b62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d198e",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 283.077,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.18182,
    "h": 313.8
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#6D198E
secondary
#67BF44
accent
#ED3B6D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D198E

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

Preview Lab → · Contrast checker → · Palette generator →

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