#6D196F#6D196F

#6D196F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.155 H 327.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6D196F
RGBrgb(109, 25, 111)
HSLhsl(299, 63%, 27%)
HSVhsv(299, 77%, 44%)
CMYKcmyk(1.8%, 77.5%, 0%, 56.5%)
CIE-LABlab(27.00, 46.87, -30.32)
CIE-LCHlch(27.00, 55.83, 327.10°)
OKLaboklab(39.11% 0.1298 -0.0842)
OKLCHoklch(39.11% 0.155 327)
XYZxyz(9.5234, 5.0948, 15.5176)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D196F #1B6F19
analogous
#42196F #6D196F #6F1946
triadic
#6D196F #6F6D19 #196F6D
tetradic
#6D196F #6F4219 #1B6F19 #19466F
square
#6D196F #6F4219 #1B6F19 #19466F
split-complementary
#6D196F #466F19 #196F42
monochromatic
#190619 #3C0E3D #6D196F #9E24A1 #CD32D1

Accessibility & contrast

On white

10.40
#6D196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6D196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D196F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D196F#FFFFFF#000000##FFFFFF
##6D196F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#2F436D
Tritanopia (blue-blind)
#702743
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6d196f;
/* rgb */ color: rgb(109, 25, 111);
/* oklch */ color: oklch(39.1% 0.155 327.0);
Tailwind
colors: {
  custom: {
    50: '#9a6099',
    500: '#6d196f',
    950: '#000000',
  },
}
SCSS
$custom: #6d196f;
$custom-light: #9a6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6d196f",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 298.605,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.15467,
    "h": 327
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#6D196F
secondary
#42A43F
accent
#E64245
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D196F

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

Preview Lab → · Contrast checker → · Palette generator →

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