#6D1C8A#6D1C8A

#6D1C8A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.175 H 315.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6D1C8A
RGBrgb(109, 28, 138)
HSLhsl(284, 66%, 33%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21%, 79.7%, 0%, 45.9%)
CIE-LABlab(29.20, 51.08, -43.85)
CIE-LCHlch(29.20, 67.32, 319.35°)
OKLaboklab(41.26% 0.1241 -0.1238)
OKLCHoklch(41.26% 0.175 315.1)
XYZxyz(11.3086, 5.9171, 24.5863)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C8A #398A1C
analogous
#361C8A #6D1C8A #8A1C70
triadic
#6D1C8A #8A6D1C #1C8A6D
tetradic
#6D1C8A #8A361C #398A1C #1C708A
square
#6D1C8A #8A361C #398A1C #1C708A
split-complementary
#6D1C8A #708A1C #1C8A36
monochromatic
#1D0724 #451257 #6D1C8A #9526BD #B347DA

Accessibility & contrast

On white

9.62
#6D1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6D1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C8A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C8A#FFFFFF#000000##FFFFFF
##6D1C8A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#6B3653
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1c8a;
/* rgb */ color: rgb(109, 28, 138);
/* oklch */ color: oklch(41.3% 0.175 315.1);
Tailwind
colors: {
  custom: {
    50: '#9b63ad',
    500: '#6d1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c8a;
$custom-light: #9b63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c8a",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 284.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.17531,
    "h": 315.1
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#6D1C8A
secondary
#65BB46
accent
#E93F6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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