#6E218A#6E218A

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

Color values

HEX#6E218A
RGBrgb(110, 33, 138)
HSLhsl(284, 61%, 34%)
HSVhsv(284, 76%, 54%)
CMYKcmyk(20.3%, 76.1%, 0%, 45.9%)
CIE-LABlab(30.01, 49.44, -42.55)
CIE-LCHlch(30.01, 65.23, 319.28°)
OKLaboklab(41.86% 0.1208 -0.12)
OKLCHoklch(41.86% 0.17 315.2)
XYZxyz(11.5610, 6.2381, 24.6349)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E218A #3D8A21
analogous
#39218A #6E218A #8A2171
triadic
#6E218A #8A6E21 #218A6E
tetradic
#6E218A #8A3921 #3D8A21 #21718A
square
#6E218A #8A3921 #3D8A21 #21718A
split-complementary
#6E218A #718A21 #218A39
monochromatic
#1F0927 #471559 #6E218A #952DBB #B250D5

Accessibility & contrast

On white

9.34
#6E218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E218A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E218A#FFFFFF#000000##FFFFFF
##6E218A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#1D4988
Tritanopia (blue-blind)
#6C3854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e218a;
/* rgb */ color: rgb(110, 33, 138);
/* oklch */ color: oklch(41.9% 0.170 315.2);
Tailwind
colors: {
  custom: {
    50: '#9b65ad',
    500: '#6e218a',
    950: '#000000',
  },
}
SCSS
$custom: #6e218a;
$custom-light: #9b65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e218a",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 284,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.17025,
    "h": 315.2
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#6E218A
secondary
#6BB94E
accent
#E5436E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E218A

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

Preview Lab → · Contrast checker → · Palette generator →

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