#6D1471#6D1471

#6D1471 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.161 H 326.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#6D1471
RGBrgb(109, 20, 113)
HSLhsl(297, 70%, 26%)
HSVhsv(297, 82%, 44%)
CMYKcmyk(3.5%, 82.3%, 0%, 55.7%)
CIE-LABlab(26.58, 48.83, -32.29)
CIE-LCHlch(26.58, 58.54, 326.52°)
OKLaboklab(38.85% 0.1341 -0.0899)
OKLCHoklch(38.85% 0.161 326.2)
XYZxyz(9.5373, 4.9444, 16.0716)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1471 #187114
analogous
#3E1471 #6D1471 #711446
triadic
#6D1471 #716D14 #14716D
tetradic
#6D1471 #713E14 #187114 #144671
square
#6D1471 #713E14 #187114 #144671
split-complementary
#6D1471 #467114 #14713E
monochromatic
#19051A #3B0B3D #6D1471 #9F1DA5 #D127D9

Accessibility & contrast

On white

10.56
#6D1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1471
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1471#FFFFFF#000000##FFFFFF
##6D14711.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2B436F
Tritanopia (blue-blind)
#702543
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1471;
/* rgb */ color: rgb(109, 20, 113);
/* oklch */ color: oklch(38.8% 0.161 326.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e9a',
    500: '#6d1471',
    950: '#000000',
  },
}
SCSS
$custom: #6d1471;
$custom-light: #9a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1471",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 297.419,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.16146,
    "h": 326.2
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#6D1471
secondary
#3EA739
accent
#ED3B43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1471

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

Preview Lab → · Contrast checker → · Palette generator →

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