#6D1896#6D1896

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

Color values

HEX#6D1896
RGBrgb(109, 24, 150)
HSLhsl(280, 72%, 34%)
HSVhsv(280, 84%, 59%)
CMYKcmyk(27.3%, 84%, 0%, 41.2%)
CIE-LABlab(29.68, 54.89, -50.49)
CIE-LCHlch(29.68, 74.58, 317.39°)
OKLaboklab(41.88% 0.1246 -0.1433)
OKLCHoklch(41.88% 0.19 311)
XYZxyz(12.1373, 6.1068, 29.3876)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1896 #419618
analogous
#2E1896 #6D1896 #961880
triadic
#6D1896 #966D18 #18966D
tetradic
#6D1896 #962E18 #419618 #188096
square
#6D1896 #962E18 #419618 #188096
split-complementary
#6D1896 #809618 #18962E
monochromatic
#20072C #471061 #6D1896 #9320CB #AF47E2

Accessibility & contrast

On white

9.45
#6D1896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D1896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1896
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1896#FFFFFF#000000##FFFFFF
##6D18961.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#673959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1896;
/* rgb */ color: rgb(109, 24, 150);
/* oklch */ color: oklch(41.9% 0.190 311.0);
Tailwind
colors: {
  custom: {
    50: '#9c62b6',
    500: '#6d1896',
    950: '#000000',
  },
}
SCSS
$custom: #6d1896;
$custom-light: #9c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1896",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 280.476,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.1899,
    "h": 311
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#6D1896
secondary
#6FC347
accent
#EF3974
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1896

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

Preview Lab → · Contrast checker → · Palette generator →

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