#6C186A#6C186A

#6C186A is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.151 H 329.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#6C186A
RGBrgb(108, 24, 106)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 42%)
CMYKcmyk(0%, 77.8%, 1.9%, 57.6%)
CIE-LABlab(26.40, 46.09, -28.07)
CIE-LCHlch(26.40, 53.97, 328.65°)
OKLaboklab(38.55% 0.1296 -0.0777)
OKLCHoklch(38.55% 0.151 329.1)
XYZxyz(9.1124, 4.8827, 14.0954)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186A #186C1A
analogous
#44186C #6C186A #6C1840
triadic
#6C186A #6A6C18 #186A6C
tetradic
#6C186A #6C4418 #186C1A #18406C
square
#6C186A #6C4418 #186C1A #18406C
split-complementary
#6C186A #406C18 #186C44
monochromatic
#190619 #3A0D39 #6C186A #9E239B #D02ECC

Accessibility & contrast

On white

10.63
#6C186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C186A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186A#FFFFFF#000000##FFFFFF
##6C186A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A376C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#702440
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c186a;
/* rgb */ color: rgb(108, 24, 106);
/* oklch */ color: oklch(38.5% 0.151 329.1);
Tailwind
colors: {
  custom: {
    50: '#995f95',
    500: '#6c186a',
    950: '#000000',
  },
}
SCSS
$custom: #6c186a;
$custom-light: #995f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186a",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 301.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.15111,
    "h": 329.1
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#6C186A
secondary
#3EA240
accent
#E74541
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C186A

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

Preview Lab → · Contrast checker → · Palette generator →

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