#6D1D7D#6D1D7D

#6D1D7D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.162 H 320.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6D1D7D
RGBrgb(109, 29, 125)
HSLhsl(290, 62%, 30%)
HSVhsv(290, 77%, 49%)
CMYKcmyk(12.8%, 76.8%, 0%, 51%)
CIE-LABlab(28.41, 48.09, -36.99)
CIE-LCHlch(28.41, 60.67, 322.43°)
OKLaboklab(40.41% 0.125 -0.1037)
OKLCHoklch(40.41% 0.162 320.3)
XYZxyz(10.4473, 5.6112, 19.9308)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D7D #2D7D1D
analogous
#3D1D7D #6D1D7D #7D1D5D
triadic
#6D1D7D #7D6D1D #1D7D6D
tetradic
#6D1D7D #7D3D1D #2D7D1D #1D5D7D
square
#6D1D7D #7D3D1D #2D7D1D #1D5D7D
split-complementary
#6D1D7D #5D7D1D #1D7D3D
monochromatic
#16061A #42114B #6D1D7D #9829AF #BB41D3

Accessibility & contrast

On white

9.90
#6D1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D7D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D7D#FFFFFF#000000##FFFFFF
##6D1D7D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#6D304C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1d7d;
/* rgb */ color: rgb(109, 29, 125);
/* oklch */ color: oklch(40.4% 0.162 320.3);
Tailwind
colors: {
  custom: {
    50: '#9a62a3',
    500: '#6d1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d7d;
$custom-light: #9a62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d7d",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 290,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.16239,
    "h": 320.3
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#6D1D7D
secondary
#57B145
accent
#E5425E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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