#6C186C#6C186C

#6C186C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.153 H 328.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#6C186C
RGBrgb(108, 24, 108)
HSLhsl(300, 64%, 26%)
HSVhsv(300, 78%, 42%)
CMYKcmyk(0%, 77.8%, 0%, 57.6%)
CIE-LABlab(26.52, 46.45, -29.17)
CIE-LCHlch(26.52, 54.85, 327.87°)
OKLaboklab(38.67% 0.1296 -0.0809)
OKLCHoklch(38.67% 0.153 328)
XYZxyz(9.2176, 4.9248, 14.6495)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186C #186C18
analogous
#42186C #6C186C #6C1842
triadic
#6C186C #6C6C18 #186C6C
tetradic
#6C186C #6C4218 #186C18 #18426C
square
#6C186C #6C4218 #186C18 #18426C
split-complementary
#6C186C #426C18 #186C42
monochromatic
#190619 #3A0D3A #6C186C #9E239E #D02ED0

Accessibility & contrast

On white

10.58
#6C186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C186C
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186C#FFFFFF#000000##FFFFFF
##6C186C1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386E
Deuteranopia (green-blind)
#2F426A
Tritanopia (blue-blind)
#702541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c186c;
/* rgb */ color: rgb(108, 24, 108);
/* oklch */ color: oklch(38.7% 0.153 328.0);
Tailwind
colors: {
  custom: {
    50: '#995f96',
    500: '#6c186c',
    950: '#000000',
  },
}
SCSS
$custom: #6c186c;
$custom-light: #995f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186c",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 300,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.15276,
    "h": 328
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#6C186C
secondary
#3EA23E
accent
#E74141
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C186C

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

Preview Lab → · Contrast checker → · Palette generator →

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