#6C1D8A#6C1D8A

#6C1D8A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.174 H 314.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6C1D8A
RGBrgb(108, 29, 138)
HSLhsl(283, 65%, 33%)
HSVhsv(283, 79%, 54%)
CMYKcmyk(21.7%, 79%, 0%, 45.9%)
CIE-LABlab(29.16, 50.53, -43.92)
CIE-LCHlch(29.16, 66.95, 319.00°)
OKLaboklab(41.2% 0.1219 -0.124)
OKLCHoklch(41.2% 0.174 314.5)
XYZxyz(11.2104, 5.9023, 24.5886)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D8A #3B8A1D
analogous
#351D8A #6C1D8A #8A1D71
triadic
#6C1D8A #8A6C1D #1D8A6C
tetradic
#6C1D8A #8A351D #3B8A1D #1D718A
square
#6C1D8A #8A351D #3B8A1D #1D718A
split-complementary
#6C1D8A #718A1D #1D8A35
monochromatic
#1D0825 #441257 #6C1D8A #9428BD #B149D9

Accessibility & contrast

On white

9.63
#6C1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1D8A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D8A#FFFFFF#000000##FFFFFF
##6C1D8A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#693653
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1d8a;
/* rgb */ color: rgb(108, 29, 138);
/* oklch */ color: oklch(41.2% 0.174 314.5);
Tailwind
colors: {
  custom: {
    50: '#9a63ad',
    500: '#6c1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d8a;
$custom-light: #9a63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d8a",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 283.486,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.17392,
    "h": 314.5
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#6C1D8A
secondary
#68BB48
accent
#E8406E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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