#6D218E#6D218E

#6D218E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.174 H 313.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6D218E
RGBrgb(109, 33, 142)
HSLhsl(282, 62%, 34%)
HSVhsv(282, 77%, 56%)
CMYKcmyk(23.2%, 76.8%, 0%, 44.3%)
CIE-LABlab(30.14, 50.08, -44.82)
CIE-LCHlch(30.14, 67.21, 318.17°)
OKLaboklab(42.01% 0.1189 -0.1267)
OKLCHoklch(42.01% 0.174 313.2)
XYZxyz(11.7322, 6.2923, 26.1825)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D218E #428E21
analogous
#37218E #6D218E #8E2179
triadic
#6D218E #8E6D21 #218E6D
tetradic
#6D218E #8E3721 #428E21 #21798E
square
#6D218E #8E3721 #428E21 #21798E
split-complementary
#6D218E #798E21 #218E37
monochromatic
#210A2B #47155C #6D218E #932DC0 #AF52D7

Accessibility & contrast

On white

9.30
#6D218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D218E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D218E#FFFFFF#000000##FFFFFF
##6D218E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#693A56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d218e;
/* rgb */ color: rgb(109, 33, 142);
/* oklch */ color: oklch(42.0% 0.174 313.2);
Tailwind
colors: {
  custom: {
    50: '#9b65b0',
    500: '#6d218e',
    950: '#000000',
  },
}
SCSS
$custom: #6d218e;
$custom-light: #9b65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d218e",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 281.835,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.1737,
    "h": 313.2
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#6D218E
secondary
#70BA50
accent
#E54274
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D218E

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

Preview Lab → · Contrast checker → · Palette generator →

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