#6D218C#6D218C

#6D218C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.172 H 313.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6D218C
RGBrgb(109, 33, 140)
HSLhsl(283, 62%, 34%)
HSVhsv(283, 76%, 55%)
CMYKcmyk(22.1%, 76.4%, 0%, 45.1%)
CIE-LABlab(29.99, 49.65, -43.82)
CIE-LCHlch(29.99, 66.22, 318.57°)
OKLaboklab(41.86% 0.1192 -0.1237)
OKLCHoklch(41.86% 0.172 313.9)
XYZxyz(11.5833, 6.2328, 25.3987)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D218C #408C21
analogous
#38218C #6D218C #8C2176
triadic
#6D218C #8C6D21 #218C6D
tetradic
#6D218C #8C3821 #408C21 #21768C
square
#6D218C #8C3821 #408C21 #21768C
split-complementary
#6D218C #768C21 #218C38
monochromatic
#200A29 #46155A #6D218C #942DBE #B051D6

Accessibility & contrast

On white

9.35
#6D218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D218C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D218C#FFFFFF#000000##FFFFFF
##6D218C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#19488A
Tritanopia (blue-blind)
#6A3955
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d218c;
/* rgb */ color: rgb(109, 33, 140);
/* oklch */ color: oklch(41.9% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#9b65ae',
    500: '#6d218c',
    950: '#000000',
  },
}
SCSS
$custom: #6d218c;
$custom-light: #9b65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d218c",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 282.617,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.17179,
    "h": 313.9
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#6D218C
secondary
#6EB94F
accent
#E54372
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D218C

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

Preview Lab → · Contrast checker → · Palette generator →

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