#6D2186#6D2186

#6D2186 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.166 H 316.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6D2186
RGBrgb(109, 33, 134)
HSLhsl(285, 60%, 33%)
HSVhsv(285, 75%, 53%)
CMYKcmyk(18.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(29.56, 48.39, -40.78)
CIE-LCHlch(29.56, 63.28, 319.88°)
OKLaboklab(41.42% 0.12 -0.1148)
OKLCHoklch(41.42% 0.166 316.3)
XYZxyz(11.1529, 6.0606, 23.1320)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2186 #3A8621
analogous
#3B2186 #6D2186 #86216C
triadic
#6D2186 #866D21 #21866D
tetradic
#6D2186 #863B21 #3A8621 #216C86
square
#6D2186 #863B21 #3A8621 #216C86
split-complementary
#6D2186 #6C8621 #21863B
monochromatic
#1D0924 #451555 #6D2186 #952DB7 #B24ED3

Accessibility & contrast

On white

9.49
#6D2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2186
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2186#FFFFFF#000000##FFFFFF
##6D21861.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#214884
Tritanopia (blue-blind)
#6B3652
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2186;
/* rgb */ color: rgb(109, 33, 134);
/* oklch */ color: oklch(41.4% 0.166 316.3);
Tailwind
colors: {
  custom: {
    50: '#9a64aa',
    500: '#6d2186',
    950: '#000000',
  },
}
SCSS
$custom: #6d2186;
$custom-light: #9a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2186",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 285.149,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.16608,
    "h": 316.3
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#6D2186
secondary
#67B74C
accent
#E4446C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2186

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

Preview Lab → · Contrast checker → · Palette generator →

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