#6D216D#6D216D

#6D216D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.143 H 327.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6D216D
RGBrgb(109, 33, 109)
HSLhsl(300, 54%, 28%)
HSVhsv(300, 70%, 43%)
CMYKcmyk(0%, 69.7%, 0%, 57.3%)
CIE-LABlab(27.96, 43.44, -27.52)
CIE-LCHlch(27.96, 51.42, 327.65°)
OKLaboklab(39.76% 0.1211 -0.0761)
OKLCHoklch(39.76% 0.143 327.9)
XYZxyz(9.6107, 5.4437, 15.0096)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D216D #216D21
analogous
#47216D #6D216D #6D2147
triadic
#6D216D #6D6D21 #216D6D
tetradic
#6D216D #6D4721 #216D21 #21476D
square
#6D216D #6D4721 #216D21 #21476D
split-complementary
#6D216D #476D21 #216D47
monochromatic
#170717 #3E133E #6D216D #9C2F9C #C642C6

Accessibility & contrast

On white

10.05
#6D216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6D216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D216D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D216D#FFFFFF#000000##FFFFFF
##6D216D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C6F
Deuteranopia (green-blind)
#34456B
Tritanopia (blue-blind)
#702C44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d216d;
/* rgb */ color: rgb(109, 33, 109);
/* oklch */ color: oklch(39.8% 0.143 327.9);
Tailwind
colors: {
  custom: {
    50: '#9a6397',
    500: '#6d216d',
    950: '#000000',
  },
}
SCSS
$custom: #6d216d;
$custom-light: #9a6397;
$custom-dark: #000000;
JSON
{
  "hex": "#6d216d",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 300,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.14303,
    "h": 327.9
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#6D216D
secondary
#49A149
accent
#DD4B4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6D216D

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

Preview Lab → · Contrast checker → · Palette generator →

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