#6D186D#6D186D

#6D186D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.154 H 328.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#6D186D
RGBrgb(109, 24, 109)
HSLhsl(300, 64%, 26%)
HSVhsv(300, 78%, 43%)
CMYKcmyk(0%, 78%, 0%, 57.3%)
CIE-LABlab(26.76, 46.86, -29.42)
CIE-LCHlch(26.76, 55.33, 327.87°)
OKLaboklab(38.9% 0.1308 -0.0816)
OKLCHoklch(38.9% 0.154 328)
XYZxyz(9.3935, 5.0093, 14.9372)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D186D #186D18
analogous
#42186D #6D186D #6D1842
triadic
#6D186D #6D6D18 #186D6D
tetradic
#6D186D #6D4218 #186D18 #18426D
square
#6D186D #6D4218 #186D18 #18426D
split-complementary
#6D186D #426D18 #186D42
monochromatic
#190619 #3B0D3B #6D186D #9F239F #D12ED1

Accessibility & contrast

On white

10.49
#6D186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D186D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D186D#FFFFFF#000000##FFFFFF
##6D186D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386F
Deuteranopia (green-blind)
#30436B
Tritanopia (blue-blind)
#712641
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d186d;
/* rgb */ color: rgb(109, 24, 109);
/* oklch */ color: oklch(38.9% 0.154 328.0);
Tailwind
colors: {
  custom: {
    50: '#9a5f97',
    500: '#6d186d',
    950: '#000000',
  },
}
SCSS
$custom: #6d186d;
$custom-light: #9a5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6d186d",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 300,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.389,
    "c": 0.1541,
    "h": 328
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D186D

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

Preview Lab → · Contrast checker → · Palette generator →

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