#6D218D#6D218D

#6D218D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.173 H 313.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#6D218D
RGBrgb(109, 33, 141)
HSLhsl(282, 62%, 34%)
HSVhsv(282, 77%, 55%)
CMYKcmyk(22.7%, 76.6%, 0%, 44.7%)
CIE-LABlab(30.07, 49.87, -44.32)
CIE-LCHlch(30.07, 66.72, 318.37°)
OKLaboklab(41.94% 0.119 -0.1252)
OKLCHoklch(41.94% 0.173 313.6)
XYZxyz(11.6574, 6.2624, 25.7888)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D218D #418D21
analogous
#37218D #6D218D #8D2177
triadic
#6D218D #8D6D21 #218D6D
tetradic
#6D218D #8D3721 #418D21 #21778D
square
#6D218D #8D3721 #418D21 #21778D
split-complementary
#6D218D #778D21 #218D37
monochromatic
#200A2A #47155B #6D218D #932DBF #AF52D6

Accessibility & contrast

On white

9.32
#6D218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D218D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D218D#FFFFFF#000000##FFFFFF
##6D218D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#17488B
Tritanopia (blue-blind)
#6A3956
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d218d;
/* rgb */ color: rgb(109, 33, 141);
/* oklch */ color: oklch(41.9% 0.173 313.6);
Tailwind
colors: {
  custom: {
    50: '#9b65af',
    500: '#6d218d',
    950: '#000000',
  },
}
SCSS
$custom: #6d218d;
$custom-light: #9b65af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d218d",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 282.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.17274,
    "h": 313.6
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#6D218D
secondary
#6FBA50
accent
#E54373
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D218D

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

Preview Lab → · Contrast checker → · Palette generator →

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