#6D218F#6D218F

#6D218F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 312.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#6D218F
RGBrgb(109, 33, 143)
HSLhsl(281, 63%, 35%)
HSVhsv(281, 77%, 56%)
CMYKcmyk(23.8%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.21, 50.30, -45.32)
CIE-LCHlch(30.21, 67.70, 317.98°)
OKLaboklab(42.09% 0.1187 -0.1281)
OKLCHoklch(42.09% 0.175 312.8)
XYZxyz(11.8076, 6.3224, 26.5796)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D218F #438F21
analogous
#36218F #6D218F #8F217A
triadic
#6D218F #8F6D21 #218F6D
tetradic
#6D218F #8F3621 #438F21 #217A8F
square
#6D218F #8F3621 #438F21 #217A8F
split-complementary
#6D218F #7A8F21 #218F36
monochromatic
#210A2C #47165D #6D218F #932CC1 #AE53D7

Accessibility & contrast

On white

9.27
#6D218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6D218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D218F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D218F#FFFFFF#000000##FFFFFF
##6D218F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#693A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d218f;
/* rgb */ color: rgb(109, 33, 143);
/* oklch */ color: oklch(42.1% 0.175 312.8);
Tailwind
colors: {
  custom: {
    50: '#9b65b0',
    500: '#6d218f',
    950: '#000000',
  },
}
SCSS
$custom: #6d218f;
$custom-light: #9b65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d218f",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 281.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.17466,
    "h": 312.8
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#6D218F
secondary
#72BB51
accent
#E64275
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D218F

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

Preview Lab → · Contrast checker → · Palette generator →

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