#6C186D#6C186D

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

Color values

HEX#6C186D
RGBrgb(108, 24, 109)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 43%)
CMYKcmyk(0.9%, 78%, 0%, 57.3%)
CIE-LABlab(26.58, 46.62, -29.72)
CIE-LCHlch(26.58, 55.29, 327.48°)
OKLaboklab(38.74% 0.1296 -0.0824)
OKLCHoklch(38.74% 0.154 327.5)
XYZxyz(9.2712, 4.9462, 14.9314)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186D #196D18
analogous
#41186D #6C186D #6D1843
triadic
#6C186D #6D6C18 #186D6C
tetradic
#6C186D #6D4118 #196D18 #18436D
square
#6C186D #6D4118 #196D18 #18436D
split-complementary
#6C186D #436D18 #186D41
monochromatic
#190619 #3A0D3B #6C186D #9E239F #CF2ED1

Accessibility & contrast

On white

10.56
#6C186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C186D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186D#FFFFFF#000000##FFFFFF
##6C186D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386F
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#6F2641
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c186d;
/* rgb */ color: rgb(108, 24, 109);
/* oklch */ color: oklch(38.7% 0.154 327.5);
Tailwind
colors: {
  custom: {
    50: '#995f97',
    500: '#6c186d',
    950: '#000000',
  },
}
SCSS
$custom: #6c186d;
$custom-light: #995f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186d",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 299.294,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.1536,
    "h": 327.5
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#6C186D
secondary
#3FA33E
accent
#E74143
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C186D

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

Preview Lab → · Contrast checker → · Palette generator →

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