#6E217D#6E217D

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

Color values

HEX#6E217D
RGBrgb(110, 33, 125)
HSLhsl(290, 58%, 31%)
HSVhsv(290, 74%, 49%)
CMYKcmyk(12%, 73.6%, 0%, 51%)
CIE-LABlab(29.12, 46.77, -35.85)
CIE-LCHlch(29.12, 58.93, 322.53°)
OKLaboklab(40.94% 0.1221 -0.1003)
OKLCHoklch(40.94% 0.158 320.6)
XYZxyz(10.6755, 5.8839, 19.9715)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E217D #307D21
analogous
#40217D #6E217D #7D215E
triadic
#6E217D #7D6E21 #217D6E
tetradic
#6E217D #7D4021 #307D21 #215E7D
square
#6E217D #7D4021 #307D21 #215E7D
split-complementary
#6E217D #5E7D21 #217D40
monochromatic
#19071C #43144D #6E217D #992EAD #B949CF

Accessibility & contrast

On white

9.65
#6E217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E217D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E217D#FFFFFF#000000##FFFFFF
##6E217D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#2A477B
Tritanopia (blue-blind)
#6F324D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e217d;
/* rgb */ color: rgb(110, 33, 125);
/* oklch */ color: oklch(40.9% 0.158 320.6);
Tailwind
colors: {
  custom: {
    50: '#9b64a3',
    500: '#6e217d',
    950: '#000000',
  },
}
SCSS
$custom: #6e217d;
$custom-light: #9b64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e217d",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 290.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40942,
    "c": 0.15806,
    "h": 320.6
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#6E217D
secondary
#5BB04A
accent
#E14660
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E217D

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

Preview Lab → · Contrast checker → · Palette generator →

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