#6C218F#6C218F

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

Color values

HEX#6C218F
RGBrgb(108, 33, 143)
HSLhsl(281, 63%, 35%)
HSVhsv(281, 77%, 56%)
CMYKcmyk(24.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.06, 50.10, -45.58)
CIE-LCHlch(30.06, 67.73, 317.70°)
OKLaboklab(41.95% 0.1173 -0.1289)
OKLCHoklch(41.95% 0.174 312.3)
XYZxyz(11.6852, 6.2594, 26.5739)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C218F #448F21
analogous
#35218F #6C218F #8F217B
triadic
#6C218F #8F6C21 #218F6C
tetradic
#6C218F #8F3521 #448F21 #217B8F
square
#6C218F #8F3521 #448F21 #217B8F
split-complementary
#6C218F #7B8F21 #218F35
monochromatic
#210A2C #46165D #6C218F #922CC1 #AD53D7

Accessibility & contrast

On white

9.33
#6C218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C218F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C218F#FFFFFF#000000##FFFFFF
##6C218F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c218f;
/* rgb */ color: rgb(108, 33, 143);
/* oklch */ color: oklch(41.9% 0.174 312.3);
Tailwind
colors: {
  custom: {
    50: '#9a65b0',
    500: '#6c218f',
    950: '#000000',
  },
}
SCSS
$custom: #6c218f;
$custom-light: #9a65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c218f",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 280.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.17433,
    "h": 312.3
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#6C218F
secondary
#73BB51
accent
#E64276
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6C218F

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

Preview Lab → · Contrast checker → · Palette generator →

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