#6E217B#6E217B

#6E217B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.156 H 321.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6E217B
RGBrgb(110, 33, 123)
HSLhsl(291, 58%, 31%)
HSVhsv(291, 73%, 48%)
CMYKcmyk(10.6%, 73.2%, 0%, 51.8%)
CIE-LABlab(28.99, 46.37, -34.79)
CIE-LCHlch(28.99, 57.97, 323.12°)
OKLaboklab(40.81% 0.1223 -0.0972)
OKLCHoklch(40.81% 0.156 321.5)
XYZxyz(10.5490, 5.8333, 19.3053)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217B #2E7B21
analogous
#41217B #6E217B #7B215B
triadic
#6E217B #7B6E21 #217B6E
tetradic
#6E217B #7B4121 #2E7B21 #215B7B
square
#6E217B #7B4121 #2E7B21 #215B7B
split-complementary
#6E217B #5B7B21 #217B41
monochromatic
#18071A #43144B #6E217B #992EAB #BB48CE

Accessibility & contrast

On white

9.69
#6E217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E217B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217B#FFFFFF#000000##FFFFFF
##6E217B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#6F314C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e217b;
/* rgb */ color: rgb(110, 33, 123);
/* oklch */ color: oklch(40.8% 0.156 321.5);
Tailwind
colors: {
  custom: {
    50: '#9b64a2',
    500: '#6e217b',
    950: '#000000',
  },
}
SCSS
$custom: #6e217b;
$custom-light: #9b64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217b",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 291.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.15621,
    "h": 321.5
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#6E217B
secondary
#58AE4A
accent
#E1475D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E217B

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

Preview Lab → · Contrast checker → · Palette generator →

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