#6D1D82#6D1D82

#6D1D82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.167 H 318.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6D1D82
RGBrgb(109, 29, 130)
HSLhsl(288, 64%, 31%)
HSVhsv(288, 78%, 51%)
CMYKcmyk(16.2%, 77.7%, 0%, 49%)
CIE-LABlab(28.75, 49.09, -39.58)
CIE-LCHlch(28.75, 63.06, 321.12°)
OKLaboklab(40.76% 0.1244 -0.1113)
OKLCHoklch(40.76% 0.167 318.2)
XYZxyz(10.7747, 5.7421, 21.6556)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D82 #32821D
analogous
#3A1D82 #6D1D82 #821D64
triadic
#6D1D82 #826D1D #1D826D
tetradic
#6D1D82 #823A1D #32821D #1D6482
square
#6D1D82 #823A1D #32821D #1D6482
split-complementary
#6D1D82 #64821D #1D823A
monochromatic
#19071E #431250 #6D1D82 #9728B4 #B744D5

Accessibility & contrast

On white

9.77
#6D1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D82
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D82#FFFFFF#000000##FFFFFF
##6D1D821.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#224680
Tritanopia (blue-blind)
#6C324E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1d82;
/* rgb */ color: rgb(109, 29, 130);
/* oklch */ color: oklch(40.8% 0.167 318.2);
Tailwind
colors: {
  custom: {
    50: '#9a63a7',
    500: '#6d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d82;
$custom-light: #9a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d82",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 287.525,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.16693,
    "h": 318.2
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#6D1D82
secondary
#5DB546
accent
#E74164
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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