#6D1D86#6D1D86

#6D1D86 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.171 H 316.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6D1D86
RGBrgb(109, 29, 134)
HSLhsl(286, 64%, 32%)
HSVhsv(286, 78%, 53%)
CMYKcmyk(18.7%, 78.4%, 0%, 47.5%)
CIE-LABlab(29.03, 49.90, -41.63)
CIE-LCHlch(29.03, 64.99, 320.16°)
OKLaboklab(41.05% 0.1239 -0.1173)
OKLCHoklch(41.05% 0.171 316.6)
XYZxyz(11.0485, 5.8516, 23.0971)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D86 #36861D
analogous
#381D86 #6D1D86 #861D6B
triadic
#6D1D86 #866D1D #1D866D
tetradic
#6D1D86 #86381D #36861D #1D6B86
square
#6D1D86 #86381D #36861D #1D6B86
split-complementary
#6D1D86 #6B861D #1D8638
monochromatic
#1B0721 #441254 #6D1D86 #9628B8 #B546D7

Accessibility & contrast

On white

9.68
#6D1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D86
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D86#FFFFFF#000000##FFFFFF
##6D1D861.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#6B3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1d86;
/* rgb */ color: rgb(109, 29, 134);
/* oklch */ color: oklch(41.0% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#9b63aa',
    500: '#6d1d86',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d86;
$custom-light: #9b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d86",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 285.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.17059,
    "h": 316.6
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#6D1D86
secondary
#61B946
accent
#E74068
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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