#6E217A#6E217A

#6E217A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 322.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6E217A
RGBrgb(110, 33, 122)
HSLhsl(292, 57%, 30%)
HSVhsv(292, 73%, 48%)
CMYKcmyk(9.8%, 73%, 0%, 52.2%)
CIE-LABlab(28.92, 46.17, -34.26)
CIE-LCHlch(28.92, 57.50, 323.42°)
OKLaboklab(40.74% 0.1223 -0.0957)
OKLCHoklch(40.74% 0.155 322)
XYZxyz(10.4867, 5.8084, 18.9774)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217A #2D7A21
analogous
#41217A #6E217A #7A2159
triadic
#6E217A #7A6E21 #217A6E
tetradic
#6E217A #7A4121 #2D7A21 #21597A
square
#6E217A #7A4121 #2D7A21 #21597A
split-complementary
#6E217A #597A21 #217A41
monochromatic
#17071A #43144A #6E217A #992EAA #BB48CD

Accessibility & contrast

On white

9.72
#6E217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E217A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217A#FFFFFF#000000##FFFFFF
##6E217A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#6F314B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e217a;
/* rgb */ color: rgb(110, 33, 122);
/* oklch */ color: oklch(40.7% 0.155 322.0);
Tailwind
colors: {
  custom: {
    50: '#9b64a1',
    500: '#6e217a',
    950: '#000000',
  },
}
SCSS
$custom: #6e217a;
$custom-light: #9b64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217a",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 291.91,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.15529,
    "h": 322
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#6E217A
secondary
#57AD4A
accent
#E1475C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6E217A

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

Preview Lab → · Contrast checker → · Palette generator →

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