#6D1D7A#6D1D7A

#6D1D7A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.160 H 321.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#6D1D7A
RGBrgb(109, 29, 122)
HSLhsl(292, 62%, 30%)
HSVhsv(292, 76%, 48%)
CMYKcmyk(10.7%, 76.2%, 0%, 52.2%)
CIE-LABlab(28.21, 47.50, -35.41)
CIE-LCHlch(28.21, 59.25, 323.29°)
OKLaboklab(40.2% 0.1253 -0.0991)
OKLCHoklch(40.2% 0.16 321.7)
XYZxyz(10.2585, 5.5356, 18.9367)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D7A #2A7A1D
analogous
#3F1D7A #6D1D7A #7A1D59
triadic
#6D1D7A #7A6D1D #1D7A6D
tetradic
#6D1D7A #7A3F1D #2A7A1D #1D597A
square
#6D1D7A #7A3F1D #2A7A1D #1D597A
split-complementary
#6D1D7A #597A1D #1D7A3F
monochromatic
#160619 #411149 #6D1D7A #9929AB #BD40D2

Accessibility & contrast

On white

9.97
#6D1D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D7A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D7A#FFFFFF#000000##FFFFFF
##6D1D7A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#294578
Tritanopia (blue-blind)
#6E2F4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1d7a;
/* rgb */ color: rgb(109, 29, 122);
/* oklch */ color: oklch(40.2% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#9a62a1',
    500: '#6d1d7a',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d7a;
$custom-light: #9a62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d7a",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 291.613,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.15969,
    "h": 321.7
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#6D1D7A
secondary
#54AE45
accent
#E5435A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D1D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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