#6E217C#6E217C

#6E217C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.157 H 321.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6E217C
RGBrgb(110, 33, 124)
HSLhsl(291, 58%, 31%)
HSVhsv(291, 73%, 49%)
CMYKcmyk(11.3%, 73.4%, 0%, 51.4%)
CIE-LABlab(29.05, 46.57, -35.32)
CIE-LCHlch(29.05, 58.45, 322.82°)
OKLaboklab(40.88% 0.1222 -0.0988)
OKLCHoklch(40.88% 0.157 321)
XYZxyz(10.6119, 5.8585, 19.6367)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217C #2F7C21
analogous
#40217C #6E217C #7C215C
triadic
#6E217C #7C6E21 #217C6E
tetradic
#6E217C #7C4021 #2F7C21 #215C7C
square
#6E217C #7C4021 #2F7C21 #215C7C
split-complementary
#6E217C #5C7C21 #217C40
monochromatic
#18071B #43144C #6E217C #992EAC #BA49CF

Accessibility & contrast

On white

9.67
#6E217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E217C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217C#FFFFFF#000000##FFFFFF
##6E217C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#2B477A
Tritanopia (blue-blind)
#6F324C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e217c;
/* rgb */ color: rgb(110, 33, 124);
/* oklch */ color: oklch(40.9% 0.157 321.0);
Tailwind
colors: {
  custom: {
    50: '#9b64a2',
    500: '#6e217c',
    950: '#000000',
  },
}
SCSS
$custom: #6e217c;
$custom-light: #9b64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217c",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 290.769,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.15714,
    "h": 321
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#6E217C
secondary
#59AF4A
accent
#E1475E
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E217C

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

Preview Lab → · Contrast checker → · Palette generator →

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