#6D186F#6D186F

#6D186F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.156 H 327.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#6D186F
RGBrgb(109, 24, 111)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 44%)
CMYKcmyk(1.8%, 78.4%, 0%, 56.5%)
CIE-LABlab(26.88, 47.21, -30.51)
CIE-LCHlch(26.88, 56.22, 327.13°)
OKLaboklab(39.03% 0.1307 -0.0847)
OKLCHoklch(39.03% 0.156 327)
XYZxyz(9.5024, 5.0528, 15.5106)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D186F #1A6F18
analogous
#42186F #6D186F #6F1846
triadic
#6D186F #6F6D18 #186F6D
tetradic
#6D186F #6F4218 #1A6F18 #18466F
square
#6D186F #6F4218 #1A6F18 #18466F
split-complementary
#6D186F #466F18 #186F42
monochromatic
#190519 #3C0D3D #6D186F #9E23A1 #CE2FD2

Accessibility & contrast

On white

10.45
#6D186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6D186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D186F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D186F#FFFFFF#000000##FFFFFF
##6D186F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#2E436D
Tritanopia (blue-blind)
#702743
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6d186f;
/* rgb */ color: rgb(109, 24, 111);
/* oklch */ color: oklch(39.0% 0.156 327.0);
Tailwind
colors: {
  custom: {
    50: '#9a6099',
    500: '#6d186f',
    950: '#000000',
  },
}
SCSS
$custom: #6d186f;
$custom-light: #9a6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6d186f",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 298.621,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.15577,
    "h": 327
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#6D186F
secondary
#41A53E
accent
#E74044
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D186F

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

Preview Lab → · Contrast checker → · Palette generator →

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