#6D186C#6D186C

#6D186C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.153 H 328.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6D186C
RGBrgb(109, 24, 108)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 43%)
CMYKcmyk(0%, 78%, 0.9%, 57.3%)
CIE-LABlab(26.70, 46.68, -28.88)
CIE-LCHlch(26.70, 54.89, 328.26°)
OKLaboklab(38.84% 0.1308 -0.08)
OKLCHoklch(38.84% 0.153 328.6)
XYZxyz(9.3400, 4.9879, 14.6553)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D186C #186D19
analogous
#43186D #6D186C #6D1841
triadic
#6D186C #6C6D18 #186C6D
tetradic
#6D186C #6D4318 #186D19 #18416D
square
#6D186C #6D4318 #186D19 #18416D
split-complementary
#6D186C #416D18 #186D43
monochromatic
#190619 #3B0D3A #6D186C #9F239E #D12ECF

Accessibility & contrast

On white

10.51
#6D186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6D186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D186C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D186C#FFFFFF#000000##FFFFFF
##6D186C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#30436A
Tritanopia (blue-blind)
#712541
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d186c;
/* rgb */ color: rgb(109, 24, 108);
/* oklch */ color: oklch(38.8% 0.153 328.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f96',
    500: '#6d186c',
    950: '#000000',
  },
}
SCSS
$custom: #6d186c;
$custom-light: #9a5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6d186c",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 300.706,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.15328,
    "h": 328.6
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D186C

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

Preview Lab → · Contrast checker → · Palette generator →

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