#6D2183#6D2183

#6D2183 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.163 H 317.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6D2183
RGBrgb(109, 33, 131)
HSLhsl(287, 60%, 32%)
HSVhsv(287, 75%, 51%)
CMYKcmyk(16.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(29.36, 47.76, -39.24)
CIE-LCHlch(29.36, 61.81, 320.60°)
OKLaboklab(41.21% 0.1204 -0.1103)
OKLCHoklch(41.21% 0.163 317.5)
XYZxyz(10.9467, 5.9781, 22.0456)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2183 #378321
analogous
#3C2183 #6D2183 #832168
triadic
#6D2183 #836D21 #21836D
tetradic
#6D2183 #833C21 #378321 #216883
square
#6D2183 #833C21 #378321 #216883
split-complementary
#6D2183 #688321 #21833C
monochromatic
#1C0821 #441552 #6D2183 #962DB4 #B44CD2

Accessibility & contrast

On white

9.56
#6D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2183
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2183#FFFFFF#000000##FFFFFF
##6D21831.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#244781
Tritanopia (blue-blind)
#6C3550
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2183;
/* rgb */ color: rgb(109, 33, 131);
/* oklch */ color: oklch(41.2% 0.163 317.5);
Tailwind
colors: {
  custom: {
    50: '#9a64a8',
    500: '#6d2183',
    950: '#000000',
  },
}
SCSS
$custom: #6d2183;
$custom-light: #9a64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2183",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 286.531,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.16324,
    "h": 317.5
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#6D2183
secondary
#63B54B
accent
#E34568
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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