#6E216F#6E216F

#6E216F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.145 H 327.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6E216F
RGBrgb(110, 33, 111)
HSLhsl(299, 54%, 28%)
HSVhsv(299, 70%, 44%)
CMYKcmyk(0.9%, 70.3%, 0%, 56.5%)
CIE-LABlab(28.25, 44.07, -28.33)
CIE-LCHlch(28.25, 52.39, 327.26°)
OKLaboklab(40.04% 0.1224 -0.0784)
OKLCHoklch(40.04% 0.145 327.3)
XYZxyz(9.8434, 5.5511, 15.5889)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E216F #226F21
analogous
#47216F #6E216F #6F2149
triadic
#6E216F #6F6E21 #216F6E
tetradic
#6E216F #6F4721 #226F21 #21496F
square
#6E216F #6F4721 #226F21 #21496F
split-complementary
#6E216F #496F21 #216F47
monochromatic
#170718 #3F1340 #6E216F #9D2F9E #C543C7

Accessibility & contrast

On white

9.95
#6E216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E216F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E216F#FFFFFF#000000##FFFFFF
##6E216F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#712C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e216f;
/* rgb */ color: rgb(110, 33, 111);
/* oklch */ color: oklch(40.0% 0.145 327.3);
Tailwind
colors: {
  custom: {
    50: '#9a6499',
    500: '#6e216f',
    950: '#000000',
  },
}
SCSS
$custom: #6e216f;
$custom-light: #9a6499;
$custom-dark: #000000;
JSON
{
  "hex": "#6e216f",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 299.231,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.14535,
    "h": 327.3
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#6E216F
secondary
#4AA349
accent
#DE4A4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E216F

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

Preview Lab → · Contrast checker → · Palette generator →

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