#6E217E#6E217E

#6E217E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 320.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6E217E
RGBrgb(110, 33, 126)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 74%, 49%)
CMYKcmyk(12.7%, 73.8%, 0%, 50.6%)
CIE-LABlab(29.18, 46.97, -36.37)
CIE-LCHlch(29.18, 59.41, 322.25°)
OKLaboklab(41.01% 0.1221 -0.1019)
OKLCHoklch(41.01% 0.159 320.2)
XYZxyz(10.7397, 5.9096, 20.3096)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217E #317E21
analogous
#3F217E #6E217E #7E215F
triadic
#6E217E #7E6E21 #217E6E
tetradic
#6E217E #7E3F21 #317E21 #215F7E
square
#6E217E #7E3F21 #317E21 #215F7E
split-complementary
#6E217E #5F7E21 #217E3F
monochromatic
#19081D #44144E #6E217E #982EAE #B94AD0

Accessibility & contrast

On white

9.63
#6E217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E217E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217E#FFFFFF#000000##FFFFFF
##6E217E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2A477C
Tritanopia (blue-blind)
#6E334D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e217e;
/* rgb */ color: rgb(110, 33, 126);
/* oklch */ color: oklch(41.0% 0.159 320.2);
Tailwind
colors: {
  custom: {
    50: '#9b64a4',
    500: '#6e217e',
    950: '#000000',
  },
}
SCSS
$custom: #6e217e;
$custom-light: #9b64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217e",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 289.677,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.15899,
    "h": 320.2
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#6E217E
secondary
#5CB14A
accent
#E24661
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E217E

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

Preview Lab → · Contrast checker → · Palette generator →

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