#6D2184#6D2184

#6D2184 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.164 H 317.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6D2184
RGBrgb(109, 33, 132)
HSLhsl(286, 60%, 32%)
HSVhsv(286, 75%, 52%)
CMYKcmyk(17.4%, 75%, 0%, 48.2%)
CIE-LABlab(29.43, 47.97, -39.75)
CIE-LCHlch(29.43, 62.30, 320.35°)
OKLaboklab(41.28% 0.1202 -0.1118)
OKLCHoklch(41.28% 0.164 317.1)
XYZxyz(11.0148, 6.0053, 22.4043)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2184 #388421
analogous
#3C2184 #6D2184 #842169
triadic
#6D2184 #846D21 #21846D
tetradic
#6D2184 #843C21 #388421 #216984
square
#6D2184 #843C21 #388421 #216984
split-complementary
#6D2184 #698421 #21843C
monochromatic
#1C0922 #451553 #6D2184 #952DB5 #B34DD2

Accessibility & contrast

On white

9.54
#6D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2184
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2184#FFFFFF#000000##FFFFFF
##6D21841.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#6C3551
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2184;
/* rgb */ color: rgb(109, 33, 132);
/* oklch */ color: oklch(41.3% 0.164 317.1);
Tailwind
colors: {
  custom: {
    50: '#9a64a8',
    500: '#6d2184',
    950: '#000000',
  },
}
SCSS
$custom: #6d2184;
$custom-light: #9a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2184",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 286.061,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.16419,
    "h": 317.1
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#6D2184
secondary
#64B64B
accent
#E34569
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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