#6C186B#6C186B

#6C186B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.152 H 328.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#6C186B
RGBrgb(108, 24, 107)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 42%)
CMYKcmyk(0%, 77.8%, 0.9%, 57.6%)
CIE-LABlab(26.46, 46.27, -28.62)
CIE-LCHlch(26.46, 54.41, 328.26°)
OKLaboklab(38.61% 0.1296 -0.0793)
OKLCHoklch(38.61% 0.152 328.6)
XYZxyz(9.1647, 4.9036, 14.3709)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186B #186C19
analogous
#43186C #6C186B #6C1841
triadic
#6C186B #6B6C18 #186B6C
tetradic
#6C186B #6C4318 #186C19 #18416C
square
#6C186B #6C4318 #186C19 #18416C
split-complementary
#6C186B #416C18 #186C43
monochromatic
#190619 #3A0D39 #6C186B #9E239D #D02ECE

Accessibility & contrast

On white

10.60
#6C186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C186B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186B#FFFFFF#000000##FFFFFF
##6C186B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386D
Deuteranopia (green-blind)
#304269
Tritanopia (blue-blind)
#702540
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c186b;
/* rgb */ color: rgb(108, 24, 107);
/* oklch */ color: oklch(38.6% 0.152 328.6);
Tailwind
colors: {
  custom: {
    50: '#995f96',
    500: '#6c186b',
    950: '#000000',
  },
}
SCSS
$custom: #6c186b;
$custom-light: #995f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186b",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 300.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.15193,
    "h": 328.6
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#6C186B
secondary
#3EA23F
accent
#E74341
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C186B

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

Preview Lab → · Contrast checker → · Palette generator →

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