#6D1D8D#6D1D8D

#6D1D8D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.177 H 313.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6D1D8D
RGBrgb(109, 29, 141)
HSLhsl(283, 66%, 33%)
HSVhsv(283, 79%, 55%)
CMYKcmyk(22.7%, 79.4%, 0%, 44.7%)
CIE-LABlab(29.55, 51.36, -45.16)
CIE-LCHlch(29.55, 68.39, 318.67°)
OKLaboklab(41.57% 0.1227 -0.1276)
OKLCHoklch(41.57% 0.177 313.9)
XYZxyz(11.5529, 6.0534, 25.7540)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D8D #3D8D1D
analogous
#351D8D #6D1D8D #8D1D75
triadic
#6D1D8D #8D6D1D #1D8D6D
tetradic
#6D1D8D #8D351D #3D8D1D #1D758D
square
#6D1D8D #8D351D #3D8D1D #1D758D
split-complementary
#6D1D8D #758D1D #1D8D35
monochromatic
#1F0827 #46135A #6D1D8D #9427C0 #B14BDA

Accessibility & contrast

On white

9.50
#6D1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D8D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D8D#FFFFFF#000000##FFFFFF
##6D1D8D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#6A3755
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1d8d;
/* rgb */ color: rgb(109, 29, 141);
/* oklch */ color: oklch(41.6% 0.177 313.9);
Tailwind
colors: {
  custom: {
    50: '#9b63af',
    500: '#6d1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d8d;
$custom-light: #9b63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d8d",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 282.857,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4157,
    "c": 0.17704,
    "h": 313.9
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#6D1D8D
secondary
#6ABC4A
accent
#E93F70
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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