#6C1C8A#6C1C8A

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

Color values

HEX#6C1C8A
RGBrgb(108, 28, 138)
HSLhsl(284, 66%, 33%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21.7%, 79.7%, 0%, 45.9%)
CIE-LABlab(29.04, 50.89, -44.12)
CIE-LCHlch(29.04, 67.35, 319.07°)
OKLaboklab(41.11% 0.1228 -0.1246)
OKLCHoklch(41.11% 0.175 314.6)
XYZxyz(11.1863, 5.8540, 24.5805)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C8A #3A8A1C
analogous
#351C8A #6C1C8A #8A1C71
triadic
#6C1C8A #8A6C1C #1C8A6C
tetradic
#6C1C8A #8A351C #3A8A1C #1C718A
square
#6C1C8A #8A351C #3A8A1C #1C718A
split-complementary
#6C1C8A #718A1C #1C8A35
monochromatic
#1C0724 #441257 #6C1C8A #9426BD #B247DA

Accessibility & contrast

On white

9.67
#6C1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1C8A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C8A#FFFFFF#000000##FFFFFF
##6C1C8A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1c8a;
/* rgb */ color: rgb(108, 28, 138);
/* oklch */ color: oklch(41.1% 0.175 314.6);
Tailwind
colors: {
  custom: {
    50: '#9a62ad',
    500: '#6c1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c8a;
$custom-light: #9a62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c8a",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 283.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.17496,
    "h": 314.6
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#6C1C8A
secondary
#66BB46
accent
#E93F6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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