#6D2185#6D2185

#6D2185 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.165 H 316.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6D2185
RGBrgb(109, 33, 133)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 52%)
CMYKcmyk(18%, 75.2%, 0%, 47.8%)
CIE-LABlab(29.50, 48.18, -40.27)
CIE-LCHlch(29.50, 62.79, 320.11°)
OKLaboklab(41.35% 0.1201 -0.1133)
OKLCHoklch(41.35% 0.165 316.7)
XYZxyz(11.0835, 6.0328, 22.7664)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2185 #398521
analogous
#3B2185 #6D2185 #85216B
triadic
#6D2185 #856D21 #21856D
tetradic
#6D2185 #853B21 #398521 #216B85
square
#6D2185 #853B21 #398521 #216B85
split-complementary
#6D2185 #6B8521 #21853B
monochromatic
#1D0923 #451554 #6D2185 #952DB6 #B34DD3

Accessibility & contrast

On white

9.52
#6D2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2185
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2185#FFFFFF#000000##FFFFFF
##6D21851.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#6C3651
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2185;
/* rgb */ color: rgb(109, 33, 133);
/* oklch */ color: oklch(41.4% 0.165 316.7);
Tailwind
colors: {
  custom: {
    50: '#9a64a9',
    500: '#6d2185',
    950: '#000000',
  },
}
SCSS
$custom: #6d2185;
$custom-light: #9a64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2185",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 285.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.16513,
    "h": 316.7
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#6D2185
secondary
#65B64C
accent
#E3446B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2185

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

Preview Lab → · Contrast checker → · Palette generator →

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