#6D1996#6D1996

#6D1996 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 42.0% C 0.189 H 311.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6D1996
RGBrgb(109, 25, 150)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(27.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(29.78, 54.58, -50.32)
CIE-LCHlch(29.78, 74.24, 317.33°)
OKLaboklab(41.96% 0.1239 -0.1428)
OKLCHoklch(41.96% 0.189 311)
XYZxyz(12.1583, 6.1488, 29.3946)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1996 #429619
analogous
#2F1996 #6D1996 #961981
triadic
#6D1996 #966D19 #19966D
tetradic
#6D1996 #962F19 #429619 #198196
square
#6D1996 #962F19 #429619 #198196
split-complementary
#6D1996 #819619 #19962F
monochromatic
#21082D #471062 #6D1996 #9322CA #AF49E1

Accessibility & contrast

On white

9.42
#6D1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1996
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1996#FFFFFF#000000##FFFFFF
##6D19961.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#673A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1996;
/* rgb */ color: rgb(109, 25, 150);
/* oklch */ color: oklch(42.0% 0.189 311.0);
Tailwind
colors: {
  custom: {
    50: '#9c62b6',
    500: '#6d1996',
    950: '#000000',
  },
}
SCSS
$custom: #6d1996;
$custom-light: #9c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1996",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 280.32,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.18906,
    "h": 311
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#6D1996
secondary
#70C249
accent
#EE3A75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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