#6E218F#6E218F

#6E218F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.175 H 313.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6E218F
RGBrgb(110, 33, 143)
HSLhsl(282, 63%, 35%)
HSVhsv(282, 77%, 56%)
CMYKcmyk(23.1%, 76.9%, 0%, 43.9%)
CIE-LABlab(30.37, 50.50, -45.06)
CIE-LCHlch(30.37, 67.68, 318.26°)
OKLaboklab(42.23% 0.12 -0.1273)
OKLCHoklch(42.23% 0.175 313.3)
XYZxyz(11.9313, 6.3863, 26.5854)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E218F #428F21
analogous
#37218F #6E218F #8F2179
triadic
#6E218F #8F6E21 #218F6E
tetradic
#6E218F #8F3721 #428F21 #21798F
square
#6E218F #8F3721 #428F21 #21798F
split-complementary
#6E218F #798F21 #218F37
monochromatic
#220A2C #48165D #6E218F #942CC1 #B053D7

Accessibility & contrast

On white

9.22
#6E218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E218F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E218F#FFFFFF#000000##FFFFFF
##6E218F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#6A3A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e218f;
/* rgb */ color: rgb(110, 33, 143);
/* oklch */ color: oklch(42.2% 0.175 313.3);
Tailwind
colors: {
  custom: {
    50: '#9c65b0',
    500: '#6e218f',
    950: '#000000',
  },
}
SCSS
$custom: #6e218f;
$custom-light: #9c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e218f",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 282,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.175,
    "h": 313.3
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#6E218F
secondary
#71BB51
accent
#E64273
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E218F

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

Preview Lab → · Contrast checker → · Palette generator →

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